Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 823 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 823 Bytes

git ahead-behind

A small git extension that summarize the relative state of all your brannches.

$ git ahead-behind
  new-feature           f0dd42d6    0 ┝ 2  
  abandonned            717e4a57  266━┿ 1  
* main                  32b0d398    0 │ 0  
  recent-work           85f50c13    6 ┿╸12 
  no-idea-what-this-was 668a764e  391━┿ 1  

Installation

Install from source using go install

go install github.com/gdetrez/git-ahead-behind@main

Usage

$ git ahead-behind [(-r | --remotes) | (-a | --all)] [--base <branch>]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT