Skip to content

Instantly share code, notes, and snippets.

@blakef
Created August 6, 2015 09:09
Show Gist options
  • Save blakef/e36b14308bf45af7808b to your computer and use it in GitHub Desktop.
Save blakef/e36b14308bf45af7808b to your computer and use it in GitHub Desktop.
#$ git branch --edit-description FOO
#$ git branches
#> FOO - 'some description'
#> Bar -
#> Bob -
[alias]
branches = !"for b in `git branch --list | tr -d '* '`; do echo $b " - " `git config branch.$b.description`; done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment