首页 > 其他 > 详细

git当前项目免密提交

时间:2019-05-16 16:27:06      阅读:127      评论:0      收藏:0      [点我收藏+]

在项目目录下,执行:

vim .git/config

在url后边添加用户名密码即可 ``` [core] repositoryformatversion
= 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://帐号:密码@github.com/xxx/xxxlery-demo.git # 添加用户名密码 fetch = +refs/heads/*:refs/remotes/origin/* url = http://帐号:密码@xxxxx.cn/xxx/xxxlery-demo.git # 添加用户名密码 [branch "master"] remote = origin merge = refs/heads/master ```

 

git当前项目免密提交

原文:https://www.cnblogs.com/wt11/p/10875862.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!