Write a script for mass signing commits
This commit is contained in:
parent
fc4fafb879
commit
fc06ecda70
3 changed files with 11 additions and 0 deletions
|
|
@ -4,5 +4,6 @@
|
|||
ci = commit
|
||||
st = status
|
||||
sign = commit --amend --no-edit --gpg-sign
|
||||
resign = !git-resign
|
||||
[include]
|
||||
path = .hostgitconfig
|
||||
|
|
|
|||
8
.local/bin/git-resign
Executable file
8
.local/bin/git-resign
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
rebase_marker="$(git rev-parse --show-toplevel)/.git/rebase-merge/done"
|
||||
while [ -f ${rebase_marker} ]
|
||||
do
|
||||
git sign
|
||||
git rebase --continue
|
||||
done
|
||||
2
.profile
2
.profile
|
|
@ -30,3 +30,5 @@ umask 0007
|
|||
export GTK_IM_MODULE="ibus"
|
||||
export QT_IM_MODULE="ibus"
|
||||
export XMODIFIERS="@im=ibus"
|
||||
|
||||
export PATH=/home/ohad/.local/bin:${PATH}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue