auto fetch/merge/sync on push
This commit is contained in:
parent
2f35ff6304
commit
c6d3a512e4
2
sig
2
sig
|
@ -557,6 +557,8 @@ cmd_add(){
|
||||||
|
|
||||||
cmd_push() {
|
cmd_push() {
|
||||||
[ "$#" -eq 0 ] || { usage push; exit 1; }
|
[ "$#" -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
|
git push --tags origin refs/notes/signatures
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue