1
0
mirror of https://gist.github.com/b94410ca11def19b5461108b1d198d3d.git synced 2024-05-12 03:54:55 +00:00

Add -s to alias.resign

This commit is contained in:
ch
2018-08-29 21:17:56 +02:00
parent 21a14c5b59
commit 5d565ea628

View File

@@ -244,4 +244,4 @@
start = !git init && git commit --allow-empty -m \"Initial commit\"
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
# Use to sign an existing git commit. Use: git resign <COMMIT_ID>
resign = "!re() { git rebase --exec 'git commit --amend --no-edit -n -S' -i $1; }; re"
resign = "!re() { git rebase --exec 'git commit --amend --no-edit -n -S -s' -i $1; }; re"