git - Removing files from index and gitignore -


this combination of number of questions i've seen on stackoverlow, have number of files wish on .gitignore list, i've added files manually.

the problem appears these files indexed before adding them gitignore list, appeared in "changes not staged commit". wish remove them git can't see them did 'git rm --cached ' of them.

however after doing when doing git status know see them 'deleted' under 'changes committed' i.e. staged, if 'git reset head ' moves them 'modified' under 'changes not staged commit'

all want ignore them completely, how do this?

git rm them, commit. until commit, they'll show deleted.


Comments

Popular posts from this blog

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -

R summary function in ddply (plyr) in a simple way -

c# - Are delegates created via lambda expressions guaranteed to be cached? -