![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
Zoriah
坚持更博,记录爬坑之旅!!!
展开
-
windows安装git生成sshkey
第一步:打开Git Bash,创建SSH Key $ ssh-keygen -t rsa -C "youremail@**.com" 运行后生成文件 id_rsa.pub(路径:C:\Users\yourusername.ssh) 第二步:将SSH Key 添加到版本管理仓库 id_rsa.pub文本内容即SSH Key原创 2021-05-27 10:11:13 · 236 阅读 · 0 评论 -
GIT 命令
基本命令: git init 仓库初始化 git clone -b system_pro http://***.git 克隆 git remote add origin ** 连接远程仓库 git pull origin ** 下载到本地仓库 git remote -v 查看远程仓库状态 git branch -vv 查看分支状态 git remote rm origin 取消连接 git push -u origin --all git fetch 更新 git checkout -b *** orig原创 2021-05-19 16:55:57 · 98 阅读 · 0 评论