I made a huge mistake that resulted in my having a local version of my project that is no longer connected with the remote repository it was once associated with. Is there some trick to reestablishing that connection/association w/o blowing away the local version of the code?
If you want to restart a git repo, nuke the . git directory and do git init add your files/directories and commit.
Did you try:
git remote add --track master origin [url-to-git-repo]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With