I have a project that I have uploaded to github. I have some files that are already added that I want removed. I just want them to exist locally in my folder.
My git ignore file is check in with the git repository. I don't want ANY mention of these files any where in the repository. If I add them to git ignore file, there will be mention of them in the repository.
Secondly what if I want my gitignore file to be ignored?
How can I just make a file be COMPLETELY in a git initialized folder?
.gitignoreas a line to the file.gitignore. As for removing data after a commit, read this As they indicate, if you have already pushed up to github, you should consider anything sensitive already compromised.