Reconnecting Git to GitHub

Hi all,

Quick question regarding Git and Github. I had Git connected a few months ago and was able to publish/push changes to a package I had, and download these changes with GitHub Desktop on both my computers. I recently updated my desktop to Windows 11 though and did a fresh, clean install where I completely wiped the drive.

How do I reconnect Git to GitHub with the previous connection I set up, so that I don't wipe out my current repositories? I've already cloned the repo's back to my hard disk, but I'm not sure how to reconnect Git.

I find this resource for all things git and R related:

If your commit history is stored on GitHub, there shouldn't be a danger of wiping your current repositories.

1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.