git: add gerrit-new convenience alias

This commit is contained in:
Daniel Lundin 2022-11-20 14:15:18 +01:00
parent 54cee76741
commit 46864c07aa

View file

@ -32,9 +32,9 @@ pullr = pull --rebase
sl = branchless smartlog
sync = branchless sync
bco = branchless checkout
c = branchless checkout
sw = branchless switch
gerrit-new = !git fetch origin main && git checkout --detach origin/main
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