From 2f6c9e1e28bc63a4bfd726f46738ec0a99023f91 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Tue, 4 Oct 2022 16:57:34 +0200 Subject: [PATCH] git: More aliases --- common/home-manager/home.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/home-manager/home.nix b/common/home-manager/home.nix index 62e5388..86c7418 100644 --- a/common/home-manager/home.nix +++ b/common/home-manager/home.nix @@ -99,17 +99,20 @@ cdnix = "cd /etc/nixos"; ga = "git add"; + gb = "git branch"; gc = "git commit"; gcm = "git commit -m"; gcan = "git commit --amend --no-edit"; gcl = "git clone"; gco = "git checkout"; + gcb = "git checkout -b"; gl = "git pull"; gla = "git pull --autostash"; gp = "git push"; gpf = "git push --force-with-lease"; gr = "git reset"; grs = "git reset --soft"; + gs = "git switch"; tigs = "tig status"; }; };