Git Ignoring Committed Files Dec 30, 2019 So after a file has been committed, even if it’s later added into the .gitignore, its modification will be still visible. For it to be really ignored, you need: $ git rm --cached tmp.log Sources atlassian