Git :: git push error

How to solve git push error?

I was able to solve the git push problem by applying Method1 or Method2.
 
Method 1)
$ git remote remove origin
$ git remote add origin ‘your github link’
(ex) git remote add origin https://github.com/~~~)
 
Method 2)
$ git push –set-upstream origin +master

Leave a Reply

Your email address will not be published. Required fields are marked *