Git教程

1.启动git bash

2.cd 到工程目录

3.git init

4.git add README.md

5.git commit -m "版本:1.0.0.0"

6. git remote add origin git@github.com:**/**

7.git push -u origin master

8.git status 查看同步状态

9.git add 文件

10.git commit -m "版本:1.0.0.1"   上传新版本

原文地址:https://www.cnblogs.com/zychen/p/7384764.html