Since Github already support this, we will be archiving this repo.
This is a simple extension which disables the green merge button for pull requests on GitHub. It is not perfect, but it gets the job done.
Simply put, merge commits are bad. Keep your commit logs clean. Use rebase instead. There's a thread you can read here.
Get it from the Google Chrome webstore here.
In order to test this in your local, follow the steps below:
- Open a new tab on your Chrome, then navigate to
chrome://extensions/
- Make sure you have enabled
Developer mode
if you haven't already. - Click on
Load unpacked extension...
button and point it to the root of the project. - Done.
- To package it into an installable file, just click on
Pack extension...
and point to the root again.
This Chrome extension was created with the help of extensionizr. It's super easy to get started! Kudos to them!
- Fork it
- OPTIONAL - Create a new origin if you havent clone it from your github account.
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
MIT License.