coding.net - git push 403
为情所困
为情所困 2017-04-28 09:06:10
0
2
762

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

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

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

为情所困
为情所困

全部回复(2)
小葫芦
[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

会弹出一个密码框,输入密码即可。

google 一下有很多解决方案

phpcn_u1582

可以换ssh方式提交

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板