1.首先你需要一个github账号
https://github.com/
2.使用git需要先安装git工具,这里给出下载地址,下载后一路直接安装即可:
https://git-for-windows.githu...
3.创建个新项目

4.填下项目资料,完毕后点击

5.复制项目地址

6.接下来就到本地操作了,首先右键你的项目,如果你之前安装git成功的话,右键空白处选择Git Bash Here,进入如下界面,Test_Bluetooth即为我的目录文件名。

7.接下来输入如下代码(关键步骤),把刚才在github上面复制的地址克隆到本地 git clone https://github.com/CKTim/Blue...(https://github.com/CKTim/BlueTooth.git替换成你之前复制的地址)

8.你会发现你的目录文件里会生成你在github上填写项目资料的项目名,如我填写Test文件。

9.接着继续输入命令 cd Test,进入Test文件夹

10.接着输入命令 git add . (注:别忘记后面的.,此操作是把Test文件夹下面的文件都添加进来)

git commit -m "first commit" (注:“提交信息”里面换成你需要,如“first commit”)

git push -u origin master 当100%时即操作完成 (注:此操作目的是把本地仓库push到github上面,此步骤需要你输入帐号和密码)

**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。