Windows平台使用Github
来源:互联网 发布:php 随机数原理 编辑:程序博客网 时间:2024/05/03 10:26
本文由 @lonelyrains 出品,转载请注明出处。
文章链接: http://blog.csdn.net/lonelyrains/article/details/45175189
Github难免会用到,由于我的Mac虚拟机只有10.8版本,使用不了Github(2015-4-21)当前版本的Mac客户端提交代码(Clone到本地是可以直接用Xcode做的),所以只有在Windows上提交代码。
Windows上直接用Github客户端提交会报错:
Failed to sync this branch
Windows上提交代码,首先最好Chrome能翻墙。怎么翻我之前写过一篇,然后被CSDN自动放到垃圾箱也是醉了。能翻墙之后,将Chrome里设置的代理服务器在git的命令行里重新设置一遍:
export https_proxy="http://210.242.125.54:8087"
export https_proxy="http://210.242.125.54:8087"
git config --global http.sslVerify false
再用Github客户端Sync一下,OK,搞掂!
如果是机密文件,还是不要这样弄了,免费的代理服务器不知道安不安全,还是自己花钱去买吧。
参考链接:
1、http://segmentfault.com/q/1010000002666250
2、http://www.vpsee.com/2011/07/how-to-use-git-through-a-http-proxy/
3、http://www.nenew.net/windows-git-bash-http-https-proxy.html
0 0
- Windows平台使用Github
- 在windows平台上使用Github.com
- windows平台下使用Github(1 注册Github账号)
- windows平台下使用Github(3 使用github客户端方式 上传和下载 )
- windows平台下使用Github(2 创建代码仓库,安装Github客户端.)
- Windows 上使用 Github
- Windows下使用GitHub
- 使用github:windows/linux
- github for windows使用
- Windows下github使用
- windows github 命令行使用
- windows平台下使用Github(4 使用命令行方式 上传和下载 )
- Windows 下使用 Github 第一步
- Windows 上使用 Github 手记
- github for Windows使用介绍
- github for Windows使用介绍
- github for Windows使用介绍
- Windows 下 使用TortoiseGit GitHub
- 初识servlet
- Mac 10.9.1+Window 8双系统安装方法(13.3英寸Macbook pro Retina屏幕)
- STE_V1.0平台设计文档
- oracl X64 和 plsql 杂记
- Android 单位换算总结
- Windows平台使用Github
- linux命令之文件权限
- 例题3-1
- 《深入理解Linux内核》笔记--内存寻址
- Python中执行外部命令并捕获双向输出
- csdn开始之路
- PAT1066 Root of AVL Tree 平衡二叉树的实现
- p122.14. 逆转
- css引入中文字体文件处理过程