Pullable
Loop over a directory of Git repositories, fetch, and fast-forward merge from origin.
Installation
Add this line to your application's Gemfile:
gem 'pullable'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pullable
Usage
ls ~/Projects
foo bar .DS_Store
pullable ~/Projects
# cd ~/Projects
# cd ~/Projects/foo
# git fetch -p && git merge --ff-only origin/master
# cd ~/Projects/bar
# git fetch -p && git merge --ff-only origin/master
pullable ~/Projects pull
# cd ~/Projects
# cd ~/Projects/foo
# git fetch -p && git pull origin master
# cd ~/Projects/bar
# git fetch -p && git pull origin master
TODO
- Logging
- Finer grain command line options
- Grit?
Contributing
- 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