Error when “git push” to github

前端 未结 5 1703
不知归路
不知归路 2020-11-29 03:51

I have a public repository at github.com with 2 branches : master and test.

I created a new directory locally and did:

[          


        
5条回答
  •  温柔的废话
    2020-11-29 04:05

    You need to make sure that your local repository have the same name as your remote repository you're trying to push.

    First, change repository using git branch -m "test" so that "my_test" would be "test". Second, just git push origin test

提交回复
热议问题