Sign-off on several patches
8 Jan
2013
8 Jan
'13
11:50 a.m.
Hi all, I just added a new git alias in my git config file to sign-off many patches with a single command. It is: so = "!f() { c=`expr $1 - 1`; git filter-branch -f --msg-filter \"cat && echo \\\"\nSigned-off-by: Your Name <you@example.org>\\\"\" HEAD~$c^..; }; f" Until you have this alias defined, you can signed-off the number of patches you want with the following git command: git so X Hope this helps, Jonathan
4935
Age (days ago)
4935
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jonathan Druart