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
Install from source using go install
go install github.com/gdetrez/git-ahead-behind@main
$ git ahead-behind [(-r | --remotes) | (-a | --all)] [--base <branch>]
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.