Terminal screenshot of The error I am getting:
I updated the name of my repository on git hub after I had already pulled everything onto my local drive. I now am having trouble updating my local drive with the changes.
when I enter the command:
> git push origin master
I get the following error:
> error: src refspec master does not match any > error: failed to push some refs to 'https://github.com/ktrudickm/Classwork.git'
I am relatively new to this so this may be an easy fix but I am sort of stuck.
The repository info is hidden in the .git folder of your project. Open .git/config and edit the url to match the new repository.
.git
.git/config
2.1m questions
2.1m answers
60 comments
57.0k users