auto fetch/merge/sync on push

This commit is contained in:
Lance Vick 2023-01-25 18:16:48 -08:00
parent 2f35ff6304
commit c6d3a512e4
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 0 deletions

2
sig
View File

@ -557,6 +557,8 @@ cmd_add(){
cmd_push() {
[ "$#" -eq 0 ] || { usage push; exit 1; }
git fetch origin refs/notes/signatures:refs/notes/origin/signatures
git notes --ref signatures merge -s cat_sort_uniq origin/signatures
git push --tags origin refs/notes/signatures
}