Git

57 阅读1分钟
  • Git是目前世界上最先进的分布式版本控制系统(没有之一)。

  • 先把公钥给服务器 ssh -T git@github.com\ 验证成功

  • 打开git bash,上传项目


PS D:\golang\project\bluebell> git init
Initialized empty Git repository in D:/golang/project/bluebell/.git/


git add .

git commit -m"First commit" //## 提交文件到本地仓库

$ git remote add read_test git@github.com:xiaoli-HIT/bluebell.git//添加一个远程服务器别名


git push read_test master //推送到服务器

(68条消息) Windows下git和github的使用图文详细教程_the丶only的博客-CSDN博客_githubwindows