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
parent
fa889d2fbd
commit
66b5d56b9e
|
|
@ -33,6 +33,7 @@ alias gg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %
|
||||||
alias ggs="gg --stat"
|
alias ggs="gg --stat"
|
||||||
alias gsl="git shortlog -sn"
|
alias gsl="git shortlog -sn"
|
||||||
alias gw="git whatchanged"
|
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
|
if [ -z "$EDITOR" ]; then
|
||||||
case $OSTYPE in
|
case $OSTYPE in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue