Discuss / Git / 为啥连接github的时候总是报错?

为啥连接github的时候总是报错?

小逮逮

#1 Created at ... [Delete] [Delete and Lock User]

为啥连接github的时候总是报错?

git remote add origin git@github.com:0zjn0123/Different-combinations-of-multiple-digits.git

报错:error: remote origin already exists.

git push -u origin master

报错:

error: src refspec master does not match any

error: failed to push some refs to 'github.com:0zjn0123/Different-combinations-of-multiple-digits.git'

git push origin master

报错:

error: src refspec master does not match any

error: failed to push some refs to 'github.com:0zjn0123/Different-combinations-of-multiple-digits.git'


  • 1

Reply