Skip to content
Browse files

alias to git rm for removed files

  • Loading branch information...
1 parent a3b31d9 commit 42e9f56dbc4bbcd960d3587563f4139f66629c31 @tinogomes committed Feb 23, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/git/git.plugin.zsh
View
3 plugins/git/git.plugin.zsh
@@ -91,3 +91,6 @@ alias ggpush='git push origin $(current_branch)'
compdef ggpush=git
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
compdef ggpnp=git
+
+# Remove from repo all files deleted
+alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"

0 comments on commit 42e9f56

Please sign in to comment.
Something went wrong with that request. Please try again.