rebasing-hook
rebasing-hook copied to clipboard
Rebasing helper: be notified when your rebase results in code changes
rebasing-hook
Rebasing helper: be notified when your rebase results in code changes
What is this?
A tool to show you the diff caused by your rebases, with a friendly way of discarding your changes if you so wish:

Installation
Adding it to an existing project
Simply copy all files under this repository's /hooks folder to your project's .git/hooks folder.
Adding it to your default Git initialisation
You can copy the hooks to your Git template folder and they will be automatically
setup every time you run git init. If you don't have a template folder set, the
following commands will create a template for you, including this rebasing hook:
mkdir ~/.git-template
cp -r hooks/ ~/.git-template/hooks
git config --global init.templatedir '~/.git-template'
Happy rebasing :)