Updated .gitignore doesn't work

I updated my .gitignore file with the 2 bottom lines (I found this file on this forum)

##########################
# Unreal Generated Files #
##########################
*/Build
*/Binaries
*/DerivedDataCache
*/Intermediate
*/Saved
BuildingEscape/Content/StarterContent/Textures
BuildingEscape/Content/StarterContent/HDRI

######################
# VS Generated Files #
######################
*.VC.db
*.suo
*.VC.opendb
*.sln
*.VC.db-shm
*.VC.db-wal

But they are still not ignored, what can be wrong? Do I have to updated something?

I’m a complete beginner at source control!

​I have got it working by downloading Git Bash.
This video helped me to set the path to the files: https://www.youtube.com/watch?v=bqV-eszlRhY​
And then I resynced the git repo: https://stackoverflow.com/questions/7075923/resync-git-repo-with-new-gitignore-file​

Privacy & Terms