What are the differences between .gitignore and .gitkeep?

.gitkeep isn’t documented, because it’s not a feature of Git. Git cannot add a completely empty directory. People who want to track empty directories in Git have created the convention of putting files called .gitkeep in these directories. The file could be called anything; Git assigns no special significance to this name. There is a competing convention of adding … Read more

Gitignore not working

The files/folder in your version control will not just delete themselves just because you added them to the .gitignore. They are already in the repository and you have to remove them. You can just do that with this: Remember to commit everything you’ve changed before you do this! This removes all files from the repository and … Read more

Gitignore not working

The files/folder in your version control will not just delete themselves just because you added them to the .gitignore. They are already in the repository and you have to remove them. You can just do that with this: Remember to commit everything you’ve changed before you do this! This removes all files from the repository and … Read more