![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
文章平均质量分 66
liyinchi1988
软件开发工程师
Java、JavaScript、C++、C、Python
前端vue、后端java Springboot/Node express、Android APP
展开
-
Git常用命令
一、概念理解(一)工作区、暂存区、本地仓库、远程仓库(二)远程分支、当前本地分支2.Git初始化git init3.克隆项目git clone https://github.com/liyinchigithub/Git-commands.git4.拉取代码(1)git pull将远程主机 origin 的 master 分支拉取过来,与本地的 brantest 分支合并。git pull origingit pull https://github.co原创 2022-04-23 11:30:39 · 26717 阅读 · 1 评论 -
Linux CentOS 生成SSH
Git连接远程仓库需要进行身份验证,客户端或服务端拉取代码都需要机型SSH 公钥配置到远程代码仓库Github、Gitlab中一、查看是否已生成SSHls -al ~/.ssh二、生成SSHssh-keygen -t rsa -C "liyinchi@qq.com"三、查看公钥cd /root/.sshls -lcat id_rsa.pub四、公钥配置到代码仓库1.github(1)个人中心>设置(2)SS...原创 2021-11-15 15:34:51 · 1043 阅读 · 0 评论