From 1afbf70305fbd1e73b9ca1e4637218094fa8495e Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 7 Oct 2022 10:26:53 +0200 Subject: [PATCH] git: gerrit alias --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 614f5bd..ba93638 100644 --- a/.gitconfig +++ b/.gitconfig @@ -39,7 +39,7 @@ 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 = !git fetch origin refs/meta/config:refs/remotes/origin/meta/config && git checkout FETCH_HEAD gerrit-config-push = !git push origin HEAD:refs/meta/config gp = gerrit-push gpw = gerrit-push-wip