git: gerrit aliases rewor

This commit is contained in:
Daniel Lundin 2022-10-05 14:58:49 +02:00
parent 916c993d30
commit adaa068956

View file

@ -35,10 +35,10 @@ sync = branchless sync
bco = branchless checkout
c = branchless checkout
gerrit-push = !git push origin HEAD:refs/for/$(git rev-parse --abbrev-ref HEAD)
gerrit-push-wip = !git push origin HEAD:refs/for/$(git rev-parse --abbrev-ref HEAD)%wip
gerrit-push-ready = !git push origin HEAD:refs/for/$(git rev-parse --abbrev-ref HEAD)%ready
gerrit-replace = !git commit --amend -a && git gerrit-push
gerrit-push = !git push origin HEAD:refs/for/main
gerrit-push-wip = !git push origin HEAD:refs/for/main%wip
gerrit-push-ready = !git push origin HEAD:refs/for/main%ready
gerrit-replace = !git commit --amend -a && git push origin HEAD:refs/for/main
gerrit-config = !git fetch origin refs/meta/config:refs/remotes/origin/meta/config && git checkout origin/meta/config
gerrit-config-push = !git push origin HEAD:refs/meta/config
gp = gerrit-push
@ -115,3 +115,9 @@ concurrenttransfers = 32
[difftool "difft"]
cmd = difft --display inline "$LOCAL" "$REMOTE"
[scalar]
repo = /tmp/k2/src
[maintenance]
repo = /tmp/k2/src
[fetch]
showForcedUpdates = true