about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-29 10:39:38 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-29 10:40:57 -0700
commit7a2da566ccd149df5cb715c6e3aa53a42c914f07 (patch)
tree79df33947b0cc891ef7620bb0fe9da050c6dd90c /home
parentfeat(home/zsh): add helper function for gerrit (diff)
downloadworld-7a2da566ccd149df5cb715c6e3aa53a42c914f07.tar.gz
feat(home/git): add alias to review with gerrit
Change-Id: Ie3244add8420632017132c20c804fd6ecab3a4e0
Reviewed-on: https://cl.fcuny.net/c/world/+/164
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--home/git/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/git/default.nix b/home/git/default.nix
index 7e6cd15..b593f09 100644
--- a/home/git/default.nix
+++ b/home/git/default.nix
@@ -12,6 +12,7 @@ in {
       aliases = {
         s = "status --short --branch";
         amend = "commit --amend --no-edit";
+        review = "push origin HEAD:refs/for/main";
       };
       extraConfig = {
         core.whitespace = "trailing-space,space-before-tab";