mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
git plugin: fix error msg in gwip alias
because git rm will fail when no files were deleted
This commit is contained in:
parent
6c29041af7
commit
6ff96dab36
1 changed files with 1 additions and 1 deletions
|
@ -204,4 +204,4 @@ alias gupv='git pull --rebase -v'
|
||||||
alias gvt='git verify-tag'
|
alias gvt='git verify-tag'
|
||||||
|
|
||||||
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
|
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||||
alias gwip='git add -A; git rm $(git ls-files --deleted); git commit -m "--wip--"'
|
alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit -m "--wip--"'
|
||||||
|
|
Loading…
Reference in a new issue