Giter Site home page Giter Site logo

gitin's Introduction

gitin

gitin is a commit/branch/status explorer for git

gitin is a minimalist tool that lets you explore a git repository from command line. You can search from commits, inspect indvidual files and changes in the commits, see ahead/behind commits etc. It is an alternative and interactive way to explore the commit history. Also, you can explore your current state by investigating diffs, stage your changes and commit them.

screencast

Installation

  • Works on Linux and macOS
  • Download latest release from here
  • Or, manually download it with go get -d github.com/isacikgoz/gitin
  • cd into $GOPATH/src/github.com/isacikgoz/gitin
  • build with make install

Mac using brew

brew tap jeroenknoops/tap
brew install gitin

Usage

usage: gitin [<flags>] <command> [<args> ...]

Flags:
  -h, --help     Show context-sensitive help (also try --help-long and --help-man).
  -v, --version  Show application version.

Commands:
  help [<command>...]
    Show help.

  branch [<flags>]
    Checkout, list, or delete branches.

  log [<flags>]
    Show commit logs.

  status
    Show working-tree status. Also stage and commit changes.

Configure

  • To set line size export GITIN_LINESIZE=5
  • To hide help export GITIN_HIDEHELP=true

Development Requirements

  • Requires gitlib2 v27 and git2go. See the project homepages for build instructions.
    1. download git2go; go get -d gopkg.in/libgit2/git2go.v27
    2. make sure you have cmake libssl-dev installed
    3. cd into $GOPATH/src/gopkg.in/libgit2/git2go.v27
    4. initialize submodules by running git submodule update --init
    5. change the libigt2 version to your version (in this case its 0.27) in the install script (script/install-libgit2.sh)
    6. run the script ./script/install-libgit2.sh
  • After these you can download it with go get github.com/isacikgoz/gitin
  • cd into $GOPATH/src/github.com/isacikgoz/gitin and start hacking

Disclaimer

This project is at very early stage of the development and there may be a few bugs. Consider reporting them by raising an issue.

License

MIT

gitin's People

Contributors

isacikgoz avatar jeroenknoops avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.