alias to git rm for removed files

This commit is contained in:
tinogomes 2012-02-23 09:01:01 -02:00
commit 2648628442

View file

@ -108,3 +108,6 @@ function _git_log_prettily(){
} }
alias glp="_git_log_prettily" alias glp="_git_log_prettily"
compdef _git glp=git-log compdef _git glp=git-log
# Remove from repo all files deleted
alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"