Git reconnect

How do I reconnect my repo without pushing or pulling the folder after being offline for a while?
And in how many ways can I reconnect it?
cmd as well as vs code

Hello Meet,
There is no need to reconnect local project to a github repo once it is connected at the beginning. The connection stays the same even after we go offline.
In case the URL pointing to the remote repo is removed for some reason you can check out this official github docs to reconnect to the remote repo from cmd:-

And for VSCode you can check out the link below:-

In this doesn’t work let me know the issue in detail in reply so that we can figure it out.

1 Like