git 设置存储用户名与密码
2016-05-21 14:09
393 查看
新工作,新环境,旧电脑,旧代码环境。git是没有记录密码用户名的,于是乎只能自己设置,在命令行设置咋设置,代码如下。。
git config --global user.name "myusername" git config --global user.email "myusername@myemaildomain.com" git config --global credential.helper cache 但是最后一行 cache不是windows 下的,于是乎运行总是报错,
git: 'credential-cache' is not a git command. See 'get --help'.
对就它,老报这个问题,咋整,要用win下边的, 有人用:
git config --global credential.helper winstore用这个解决问题了,我的还是不行。就试了下边这个[/code]
git config --global credential.helper wincred这个就解决了。最终是因为版本不对,命令才不同。。。。。吆,我去。。。还有这问题,所以建议大家多试试。[/code]
相关文章推荐
- 第十三周周记
- 第十一周上机实践项目 项目5-摩托车继承自行车和机动车
- C语言回调函数 2
- 运行时发生:android.intent.action.MAIN 与 android.intent.category.LAUNCHER
- 认识与入门 Markdown,cdsn编辑比学
- html中一些常用标签及属性
- 从程序员到项目经理(12):如何管理自己的时间(上)【转载】
- ACM 2的N次方
- 从程序员到项目经理(11):每个人都是管理者【转载】
- 关于struts2 中result type="stream"
- JPA 归纳
- 从程序员到项目经理(10):程序员加油站 --要执着但不要固执【转载】
- 从程序员到项目经理(9):程序员加油站 -- 再牛也要合群【转载】
- 第十三周项目-项目1-分数类中的运算符重载
- 从程序员到项目经理(8):程序员加油站 -- 不要死于直率【转载】
- 我遇到的bug_使用spring+junit4时_java.lang.ExceptionInInitializerError
- RB-Tree 一些操作与认识
- sqlalchemy 的 raw sql 方式使用示例
- 【POJ 2369】Permutations(置换群)
- 构造函数与原型