diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-14 11:20:29 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-14 11:20:29 +0100 |
commit | 71e8b59692dea28756a569ee611244806797b46a (patch) | |
tree | 21b0d474f7f83a4e206c88d2bed4be7a0954a092 /home-manager/common.nix | |
parent | 7dc4ff7245bd812fe68677b5bb3fc339fb08a6e2 (diff) |
home-manager work: remove some stuff and add git stuff
Diffstat (limited to 'home-manager/common.nix')
-rw-r--r-- | home-manager/common.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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; |