#git clone 不同协议结果不同#
D:>git --version
git version 1.8.5.2.msysgit.0
D:>git clone git://github.com/trix/nano.git
Cloning into 'nano'...
| { | |
| "directory": "components" | |
| } |
| 设置git使用http://协议代替git://协议,保证网络畅行 | |
| D:\git config --global url."https://".insteadOf git:// | |
| D:\git config --list | |
| core.symlinks=false | |
| core.autocrlf=true | |
| color.diff=auto | |
| color.status=auto | |
| color.branch=auto |
| 在Window下通过CMD命令行实践bower的过程,bower需要依赖nodejs和npm,请正确安装! | |
| D:\>mkdir bower-demo && cd bower-demo | |
| D:\bower-demo>node -v | |
| v0.10.26 | |
| D:\bower-demo>npm -v | |
| 1.4.3 |
| G:\Bat>ssh -vT git@github.com | |
| OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 | |
| debug1: Connecting to github.com [192.30.252.130] port 22. | |
| debug1: Connection established. | |
| debug1: identity file /.ssh/identity type -1 | |
| debug1: identity file /.ssh/id_rsa type -1 | |
| debug1: identity file /.ssh/id_dsa type -1 | |
| debug1: Remote protocol version 2.0, remote software version libssh-0.6.0 | |
| debug1: no match: libssh-0.6.0 | |
| debug1: Enabling compatibility mode for protocol 2.0 |
| [http] | |
| proxy = 127.0.0.1:8087 | |
| sslCAinfo = D:\\Setup Files\\Network\\wallproxy-v2.1.19\\local\\cert\\CA.crt | |
| sslVerify = false | |
| [https] | |
| proxy = 127.0.0.1:8087 |
#git clone 不同协议结果不同#
D:>git --version
git version 1.8.5.2.msysgit.0
D:>git clone git://github.com/trix/nano.git
Cloning into 'nano'...
| .gitconfig 内容如下: | |
| [user] | |
| name = macrotea | |
| email = macrotea@qq.com | |
| [alias] | |
| ci = commit | |
| co = checkout | |
| st = status |
联系我: macrotea.cn