Created
June 24, 2015 08:54
-
-
Save ds82/471cad3d8de3c2511cfb to your computer and use it in GitHub Desktop.
gerrit change-id hinzufügen (OSX/zsh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tmp=$(mktemp /tmp/commit-msg.XXXX) | |
hook=$(stat -f $(git rev-parse --git-dir))/hooks/commit-msg | |
git filter-branch -f --msg-filter "cat > $tmp; \"$hook\" $tmp; cat $tmp" START..END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment