Command line tool (wrapped in a gem) for displaying and interacting with recently checked-out git branches
$ gem install git_recent
$ git_recent
Commands:
git_recent checkout # Interactively checkout a recently checked-out git branch
git_recent help [COMMAND] # Describe available commands or one specific command
git_recent list # List recently checked-out git branches
git_recent version # Print version information
Options:
[--max=N]
# Default: 5
I like to alias the following in my .gitconfig:
[alias]
rl = ! sh -c 'git_recent list'
rc = ! sh -c 'git_recent checkout'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request