From 71e8b59692dea28756a569ee611244806797b46a Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Thu, 14 Nov 2024 11:20:29 +0100 Subject: home-manager work: remove some stuff and add git stuff --- home-manager/common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home-manager') diff --git a/home-manager/common.nix b/home-manager/common.nix index 738b250..ee7d8f2 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -106,20 +106,23 @@ programs.git = { enable = true; aliases = { + b = "branch"; f = "fetch"; p = "pull"; s = "status"; co = "checkout"; pu = "push"; + nb = "checkout -b"; + db = "branch -D"; lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"; praise = "blame"; bump = "!git bump"; ae = "!git add -A && git commit --amend"; + ad = "commit --amend"; ac = "!git add -A && git commit"; rmbs = "!git branch | grep -wv master | grep -wv main | xargs git branch -D"; - nb = "!git checkout -b"; }; extraConfig = { pull.rebase = false; -- cgit v1.2.3