search

Home  >  Q&A  >  body text

coding.net - git push 403

我在coding有两个账号,不知道怎么解决这个问题。

有一个办法是用户名和密码直接写在config,这个似乎不大好。

是否有更好的办法,网上有说remote set-url, 我没有测试通过。

为情所困为情所困2845 days ago768

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-28 09:08:10

    [amonest@localhost python-scripts]$ git remote set-url orginal https://amonest@github.com/amonest/python-scripts.git
    [amonest@localhost python-scripts]$ git push orginal master
    

    A password box will pop up, just enter the password.

    Google there are many solutions

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-04-28 09:08:10

    You can submit via ssh

    reply
    0
  • Cancelreply