aliases: git.aliases.bash: git-sign-off

New alias for quickly using git filter-branch to add my SoB to a set of
patches. Use like so:

	git-sign-off HEAD~3..HEAD

Signed-off-by: Michael Turquette <mturquette@deferred.io>
pull/182/merge^2
Michael Turquette 2013-11-21 23:17:14 -08:00
parent fa889d2fbd
commit 66b5d56b9e
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ alias gg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %
alias ggs="gg --stat"
alias gsl="git shortlog -sn"
alias gw="git whatchanged"
alias git-sign-off='git filter-branch -f --msg-filter "cat && echo \"Signed-off-by: Mike Turquette <mturquette@linaro.org>\""'
if [ -z "$EDITOR" ]; then
case $OSTYPE in