diff --git a/users/functionalhacker/programs/git.nix b/users/functionalhacker/programs/git.nix index b0e95f43..55a3f1f7 100644 --- a/users/functionalhacker/programs/git.nix +++ b/users/functionalhacker/programs/git.nix @@ -22,5 +22,10 @@ tool = "nvim"; }; }; + + aliases = { + upstream = "!git push -u origin HEAD"; + recommit = "!git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG"; + }; }; }