Skip to content
/ gb Public
forked from vroy/git-gb

List local branches with additional information similar to the GitHub branches view.

License

Notifications You must be signed in to change notification settings

andrelandry/gb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gb

List local branches with additional information similar to the GitHub branches view.

  • the timestamp of the last revision
  • branch name
  • number of revisions behind master
  • number of revisions ahead of master

The output is sorted in chronological order - your last modified branches appear at the bottom of your prompt so you don't have to scroll.

~/c/gb:master$ gb
2014-11-22 20:54PM | foobar                   | behind:   15 | ahead:    2
2014-11-24 21:18PM | readme                   | behind:    0 | ahead:    1

Installation

The install script will do its best to install dependencies before compiling.

curl -sSL https://raw.githubusercontent.com/exploid/gb/master/install | bash -s stable

Or alternatively, after making sure that cmake is installed:

git clone [email protected]:exploid/gb.git
cd gb
make deps
make
sudo make install

About

List local branches with additional information similar to the GitHub branches view.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 75.9%
  • Makefile 18.3%
  • Shell 5.8%