1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

git plugin: fix error msg in gwip alias

because git rm will fail when no files were deleted
This commit is contained in:
ncanceill 2015-06-11 16:16:12 +02:00
parent 6c29041af7
commit 6ff96dab36

View file

@ -204,4 +204,4 @@ alias gupv='git pull --rebase -v'
alias gvt='git verify-tag'
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--"'