VS Code - Has 10k files that need to be commit

Hello guys, when I open my VS Code, this pops up: “The git repository at “/Users/myUsername” has too many active changes, only a subset of Git features will be enabled.” - Can someone help me to get rid of this

You can use the git status command in the terminal to see what untracked files exist in your repository. You can either commit these files or add them to your .gitignore to prevent Git from tracking them.

If you’re unable to commit or stash your changes and need to quickly get back to a clean state:

git reset --hard
git clean -df

this will forcefully remove all uncommitted changes, including untracked files.

My guess is that the node_modules aren’t being ignored. Add node_modules to a .gitignore file.

Is that your home directory?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.