problem in pushing to github

前端 未结 7 1955
星月不相逢
星月不相逢 2020-12-31 01:46

I have created a repository on github named pygame. Created a clone and added files and commited.but when I attempt to push I receive the following error:

gi         


        
7条回答
  •  梦谈多话
    2020-12-31 01:51

    It's all in the remote.

    Change your current remote from https://github.com/amalapk/pygame.git to git@github.com:amalapk/pygame.git and enjoy.

    To do this... (assuming your current remote is called origin)

    git remote set-url origin git@github.com:amalapk/pygame.git
    

提交回复
热议问题