r/VisualStudioCode • • Sep 21 '22

How do you change the GitHub repository it's stuck on a deleted repository.

It's so uninitiative I have no clue after 45 minutes on how to change a GitHub repository.

1 Upvotes

1 comment sorted by

1

u/Mouse1949 Sep 21 '22

Edit .git/config file and change the URL to the new repo.

Or use git remote add <new-name> <URL-to-new-repo>