Git Checkout Branch
Git Checkout Branch (gcb) is a gem for quickly checking out branches based on partial names.
Installation
$ gem install gcb
Beware that this will only install the gem for your current ruby environment! If you're using tools like rvm or rbenv, you might want to install the gem globally.
Usage
$ gcb weird
Switched to branch 'my-weird-branch-1337123456'
$ gcb ast
Switched to branch 'master'
Contributing
- Fork it ( https://github.com/[my-github-username]/gco/fork )
- 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 a new Pull Request