New git alias to restore files

This commit is contained in:
Jeremy Gardais 2021-10-03 11:15:25 +02:00
parent 8cea44ecc4
commit 348840ce75
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

2
zshrc
View File

@ -185,6 +185,8 @@ alias ggdiff='git diff'
alias ggwdiff='git diff --color-words=. --patience'
### Add changes to index
alias ggadd='git add'
### Restore changes to be committed
alias ggrestore='git restore --staged'
### Remove files from the index
alias ggrm='git rm'
### Move or rename file