Write a script for mass signing commits

This commit is contained in:
Ohad Livne 2025-06-04 22:44:24 +03:00
parent fc4fafb879
commit fc06ecda70
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 11 additions and 0 deletions

View file

@ -4,5 +4,6 @@
ci = commit ci = commit
st = status st = status
sign = commit --amend --no-edit --gpg-sign sign = commit --amend --no-edit --gpg-sign
resign = !git-resign
[include] [include]
path = .hostgitconfig path = .hostgitconfig

8
.local/bin/git-resign Executable file
View 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

View file

@ -30,3 +30,5 @@ umask 0007
export GTK_IM_MODULE="ibus" export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus" export QT_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus" export XMODIFIERS="@im=ibus"
export PATH=/home/ohad/.local/bin:${PATH}