Add Alias To Discard All Unstaged Files

Added alias 'gda' => 'git discard all' to checkout all unstaged files & folders in the project.
This commit is contained in:
Ramy Tamer 2016-06-22 15:26:34 +02:00 committed by GitHub
commit db00152410

View file

@ -78,6 +78,7 @@ alias gcp='git cherry-pick'
alias gcs='git commit -S'
alias gd='git diff'
alias gda='git checkout -- .'
alias gdca='git diff --cached'
alias gdct='git describe --tags `git rev-list --tags --max-count=1`'
alias gdt='git diff-tree --no-commit-id --name-only -r'