I’m guessing this folder has been checked into git before?
Run git rm -r --cached <folder>
and check again.
More Related Contents:
- What are the differences between .gitignore and .gitkeep?
- .gitignore is ignored by Git
- ignoring any ‘bin’ directory on a git project
- Gitignore not working
- How to create a .gitignore file
- Should I check in folder “node_modules” to Git when creating a Node.js app on Heroku?
- Using git, how do I ignore a file in one branch but have it committed in another branch?
- How do I add files without dots in them (all extension-less files) to the gitignore file?
- .gitignore and “The following untracked working tree files would be overwritten by checkout”
- Whitelisting and subdirectories in Git
- How do I make Git forget about a file that was tracked, but is now in .gitignore?
- When would you use .git/info/exclude instead of .gitignore to exclude files?
- How do .gitignore exclusion rules actually work?
- What is .gitignore?
- How to exclude file only from root folder in Git
- Using .gitignore to ignore everything but specific directories
- Apply .gitignore on an existing repository already tracking large number of files
- What’s the difference between Git ignoring directory and directory/*?
- How to manage configuration files when collaborating?
- Why doesn’t Git ignore my specified file?
- git still shows files as modified after adding to .gitignore
- Git: How to remove file from index without deleting files from any repository
- Git: Ignoring Version-Controlled Files
- Git – Creating a .gitignore file
- Remove directory from remote repository after adding them to .gitignore
- Why is git is ignoring files that aren’t in the .gitignore file?
- Definitive retroactive .gitignore (how to make Git completely/retroactively *forget* about a file now in .gitignore)
- Unignore subdirectories of ignored directories in Git
- working with .git/info/exclude too late
- gitignore by file size?