解决Sourcetree 每次拉取提交都需要输入密码
2016-05-12 15:02
246 查看
git config –global credential.helper osxkeychain
如果不能执行,请先安装:
如果不能执行,请先安装:
$ git credential-osxkeychain # Test for the cred helper git: 'credential-osxkeychain' is not a git command. See 'git --help'. $ curl -s -O \ https://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain # Download the helper $ chmod u+x git-credential-osxkeychain # Fix the permissions on the file so it can be run $ sudo mv git-credential-osxkeychain \ "$(dirname $(which git))/git-credential-osxkeychain" # Move the helper to the path where git is installed Password: [enter your password] $ git config --global credential.helper osxkeychain # Set git to use the osxkeychain credential helper
相关文章推荐
- Coding如何上传项目
- 基于SVN的项目管理——集中与分散
- 构建之法阅读笔记05
- 前端轮播小结
- Selenium
- 57-001-1 bootstrap实现图片轮播效果
- java序列化
- 剑指offer之面试题38数字在排序数组中出现的次数
- LNMP环境配置搭建
- CSS3: animation实现简易幻灯片(轮播)
- ECSHOP滚动或点击加载更多订单(瀑布流)JQuery.more.js
- Docker之Docker Compose简化复杂容器应用的利器
- 软件工程理论学习总结
- RxJava中ActionX与FuncX的区别
- CSS3: animation实现简易幻灯片(轮播)
- 剖析Maven总括
- Docker之Docker Compose简化复杂容器应用的利器
- 升级正版win10遇到的琐碎事(MBR分区表GPT分区表)
- 447. 在大数组中查找
- Quartz2d 的Path路径