Back to [[git:main-git|git main page]] After modifying .gitignore file, it may be convenient to apply this changes to the files maintained by git. First we remove the ca git rm -r --cached . Then you can add the files (ex; all files) git add --all