summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/common.nix5
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;