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 · 233 阅读 · 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 --allgit fetch 更新git checkout -b *** orig原创 2021-05-19 16:55:57 · 96 阅读 · 0 评论