Skip to content

HTTPS clone URL

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/aliases_and_bindings.sh
View
2  lib/git/aliases_and_bindings.sh
@@ -16,7 +16,7 @@ _alias $git_commit_all_alias='git_commit_all'
_exp="exec_git_expand_args"
_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.