git-pretty-accept
git-pretty-accept
is a script that rebases a pull request before merging
to master. Pull requests are always merged recursively. The result is a
linear history with merge bubbles indicating pull requests. In short, pretty.
For more information, check out
git-pretty-accept
also automatically deletes the local and remote branch
of the pull request once it's merged to master. I may add an option later on
to disable this by default.
Installation
Add this line to your application's Gemfile:
gem 'git_pretty_accept'
And then execute:
$ bundle
Or install it yourself as:
$ gem install git_pretty_accept
Usage
$ git pretty-accept BRANCH
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