GitHub – refresh the git cache.

Git starts tracking repository files and respecting the patterns set in the .gitignore file after you run the git add command.
If you later set in the .gitignore file, you want Git to start tracking a file you previously selected to be ignored.
Use these commands to refresh the git cache and apply the .gitignore changes.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.