Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add '--' to git reset command to make it work for deleted files.

  • Loading branch information...
commit cf8e3875a3f2cd0ce7f317f344eae8d50f0bc5f3 1 parent 51d3ad0
@lmeijvogel lmeijvogel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/git/
2  lib/git/
@@ -16,7 +16,7 @@ _alias $git_commit_all_alias='git_commit_all'
_alias $git_checkout_alias="$_exp git checkout"
_alias $git_commit_alias="$_exp git commit"
-_alias $git_reset_alias="$_exp git reset"
+_alias $git_reset_alias="$_exp git reset --"
_alias $git_rm_alias="$_exp git rm"
_alias $git_blame_alias="$_exp git blame"
_alias $git_diff_alias="$_exp git diff"
Please sign in to comment.
Something went wrong with that request. Please try again.