git: gerrit aliases rewor
This commit is contained in:
parent
916c993d30
commit
adaa068956
1 changed files with 10 additions and 4 deletions
14
.gitconfig
14
.gitconfig
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue