Why aren't files being ignored by Git? -


this question has answer here:

i want git ignore files named build-impl.xml in project.

to added *build-impl.xml .gitignore

however git still shows files being modified:

$ git status     modified:   tma02q1server/nbproject/build-impl.xml modified:   tma2q1client/nbproject/build-impl.xml 

what doing wrong?

edit: not aware files being tracked - asking question helped understand why wasn't getting result expected. question may people in similar situation.

.gitignore not apply files being tracked.

if delete file disk, commit it, , restore file original location, git stop tracking it.

or, run git rm --cached tma02q1server/nbproject/build-impl.xml


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -