Github source control problem

Hey

Every time I create a new directory in VS Code and then try to push to a repo, it already has 400+ changes and pushes multiple folders. I don’t want to discard the changes because it warns it will delete them entirely, where lots of the files I need elsewhere.

Thanks

Sounds like you have run git init in a parent folder. If you figure out which one you can delete the .git folder from that parent one.

1 Like

Thanks yes I ended up doing that, but deleted a good many files beforehand … :S