Open pshea75 opened 5 years ago
I'm trying to add a remote repository and then push my local repository to the local repository but I keep getting an area code. I will input the command:
git remote add origin https://github.com/pshea75/git_practice.git git push -u origin master
and then I get this error code:
error: src refspec master does not match any error: failed to push some refs to 'https://github.com/pshea/git_practice.git'
Please let me know what commands show be input instead, thank you
You might have to commit once before the push step.
commit
push
https://stackoverflow.com/questions/4181861/message-src-refspec-master-does-not-match-any-when-pushing-commits-in-git
I'm trying to add a remote repository and then push my local repository to the local repository but I keep getting an area code. I will input the command:
git remote add origin https://github.com/pshea75/git_practice.git git push -u origin master
and then I get this error code:
error: src refspec master does not match any error: failed to push some refs to 'https://github.com/pshea/git_practice.git'
Please let me know what commands show be input instead, thank you