How to remove git ignored files from GitX Staged area

1.1k views Asked by At

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 ?

1

There are 1 answers

3
VonC On BEST ANSWER

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.