Open HuangHongRui opened 6 years ago
正克隆到 'wwwm'... fatal: unable to access 'https://git.henrizi.com/zlg/wwwm.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
运行:git config --global http.sslVerify false
后,即可 Clone.
将远程仓库中的全部信息拉回到本地
命令:
git fetch origin
获得关于远程分支的更多信息
查询:`git ls-remote`
新建一个本地分支,以 origin/ * 为镜像。
命令:
git checkout -b [起个名] origin/[输入分支名]
当需要切换到其他线上分支时:(暂时没发现什么用-。-)
查询:
git branch -va
Fork 操作
github的多人协作 : 讲解
生产秘钥
命令:
ssh-keygen -t rsa -b 4096 -C "hhr464362353@gmail.com"
Git小书
https://github.com/geeeeeeeeek/git-recipes