Commit 6ff96dab authored by ncanceill's avatar ncanceill
Browse files

git plugin: fix error msg in gwip alias

because git rm will fail when no files were deleted
parent 6c29041a
......@@ -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--"'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment