add aliases for git worktree and unstaging all files
This commit is contained in:
parent
132b329c89
commit
374de04a4c
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue