Idan
Idan

Reputation: 5807

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 ?

Upvotes: 1

Views: 1109

Answers (1)

VonC
VonC

Reputation: 1323223

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.

Upvotes: 1

Related Questions