First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
This removes any changed files from the index(staging area), then just run:
git add .
Commit it:
git commit -m ".gitignore is now working"
gitignore file after you run the git add command..
YOWhatsapp
484 câu hỏi
272 câu trả lời
92 bình luận
1,967 thành viên