Here are just some points to note when making changes to the .gitgnore file to ensure Git is always tracking the right files.
- Make changes in
.gitignorefile. - Run
git rm -r --cached .command. - Run
git add .command git commit -m "Commit message"or justgit commitor continue working.
What is really important here is step 2. And remember to just run git add . command before doing any commit.
