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

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -