mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
alias to git rm for removed files
This commit is contained in:
parent
a3b31d9cc9
commit
42e9f56dbc
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue