diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index fa0c0650..6f20deea 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -246,3 +246,4 @@ alias glum='git pull upstream master' alias gwch='git whatchanged -p --abbrev-commit --pretty=medium' alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--wip-- [skip ci]"' +alias grmi='git rm --cached `git ls-files -i --exclude-from=.gitignore`'