How to remove git ignored files from GitX Staged area
I removed some files from git index , using git rm --cached
.
Those files were already staged before.
Now those files still shows at the GitX stage area, with red icon near them. I would like them disappear, that's the reason I ignored开发者_如何学运维 them.I tried git update-index --assume-unchanged
to no avail.
Any advice ?
From GitX manual:
A red icon indicates a file that has been deleted.
Meaning your git rm --cached
did modify the staging area shown by GitX, marking those files to be deleted from the cache (and not the working tree) on the next commit.
All you need to do for them to actually disappear the GUI (from the staging area or "staged Changes" part of GitX) is to commit them.
精彩评论