add aliases for git worktree and unstaging all files

This commit is contained in:
valerie 2024-07-15 18:21:44 -04:00
parent 132b329c89
commit 374de04a4c
Signed by: valnyx
GPG key ID: CC10324DD962CB7E

View file

@ -162,6 +162,10 @@ in {
}; };
aliases = { aliases = {
wta = "worktree add";
wtl = "worktree list";
wtr = "worktree remove";
rh = "reset HEAD"; # unstages all changes
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"; lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --";
lgb = "--no-pager log --oneline --decorate --graph --parents --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"; lgb = "--no-pager log --oneline --decorate --graph --parents --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --";
nuke = "!git clean -xdf && git reset --hard && git pull"; nuke = "!git clean -xdf && git reset --hard && git pull";
@ -197,7 +201,6 @@ in {
"*~" "*~"
"*.swp" "*.swp"
"*result*" "*result*"
".direnv"
"todo.md" "todo.md"
"node_modules" "node_modules"
]; ];