On Fri, 2014-04-18 at 12:49 -0700, [email protected] wrote: > I've set intellij to ignore the three build files, but it too doesn't > appear to be ignoring it.
.gitignore only impacts file which are untracked (that you've never added or committed). You can't ignore files that you've already told git are interesting to you, even if you later add them to .gitignore. > Changes not staged for commit: > (use "git add <file>..." to update what will be committed) > (use "git checkout -- <file>..." to discard changes in working > directory) > modified: build.number > modified: build.properties > modified: build.xml This means someone already committed these files to the repository, and you've now modified them. They cannot be ignored. If they were added to the repository by mistake (usually it's wrong to add these kinds of build products to the repository, but different groups do it different ways) then you have to run "git rm ..." to remove them from your current version of the repository. Then if they're recreated, .gitignore will start ignoring them. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
