Home > Net >  VSCode doesn't track changes of a clone
VSCode doesn't track changes of a clone

Time:12-03

Just cloned my own repo from GitHub to a different PC

It's not tracking any changes. I tried switching branches, opening/closing repo, but it still doesn't track it.

I'm not using any terminal commands, just the VSCode interface. Normally every change is listed in the Source Control tab, but now it's not showing anything.

Do I need to take any extra steps after cloning a repo for source control to work?

When I start working on a new project locally and initialize locally, everything works - staging, commits, publish to Github etc.

CodePudding user response:

Solved it. Create a folder from VSCode and then paste your new files there. That automatically tracks all changes.

If you post them from outside (file explorer or finder), you need to git add them manually.

  • Related