git - wxaxiaoyao/notebook GitHub Wiki
常用命令
git branch bname start_point # 创建分支 如 git branch wxa_dev orign/wxa_dev
git config --global user.name "wxaxiaoyao"
git config --global user.email "[email protected]"
git config --global http.proxy http://www:[email protected]:8080 # 设置代理
git config http.postBuffer 524288000 # 设置git客户端上传打下
ssh-key 免登陆
1. ssh-keygen # 直接全部回车即可, 会在~/.ssh/目录下生成id_rsa, id_rsa.pub 密钥文件
2. 将id_ras.pub放到要认证的服务器相关位置上 # 注意不要更改内容,内容为单行,有些编辑软件会自动换行
3. 进行ssh链接相关操作 # 比如github use ssh, [email protected]:tatfook/wikicraft.git