New git alias to restore files
This commit is contained in:
parent
8cea44ecc4
commit
348840ce75
2
zshrc
2
zshrc
|
@ -185,6 +185,8 @@ alias ggdiff='git diff'
|
||||||
alias ggwdiff='git diff --color-words=. --patience'
|
alias ggwdiff='git diff --color-words=. --patience'
|
||||||
### Add changes to index
|
### Add changes to index
|
||||||
alias ggadd='git add'
|
alias ggadd='git add'
|
||||||
|
### Restore changes to be committed
|
||||||
|
alias ggrestore='git restore --staged'
|
||||||
### Remove files from the index
|
### Remove files from the index
|
||||||
alias ggrm='git rm'
|
alias ggrm='git rm'
|
||||||
### Move or rename file
|
### Move or rename file
|
||||||
|
|
Loading…
Reference in New Issue