On Tue, May 26, 2015, 9:55 PM Kelvin White wrote: On Tue, May 26, 2015, 8:58 PM Dmitry Gutov wrote: On 05/27/2015 03:45 AM, Kelvin White wrote: > If I'm missing something, I apologize in advance, but please explain. .gitignore is already registered in the repository. 'git rm --cached && git commit' would commit its deletion (even though the file would remain on disk because of '--cached'). The 'git rm' part should be self-evident, isn't it? No, not with " --cached ". It only removes the file from the git "cache" (i.e. staging area) Maybe this can clarify my point better. http://stackoverflow.com/questions/5798930/git-rm-cached-x-vs-git-reset-head-x