0

git小技巧(9)——避免提交时每次输入用户名和密码

Posted by nanxiao on 八月 25, 2016 in git小技巧 |

避免每次提交改动时输入用户名和密码,可以使用下列命令:

$ git config credential.helper store
$ git push https://github.com/username/repo.git

参考资料:
Git push: username, password, how to avoid?

标签:

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com