1.选择文件夹右键选择git bash here
2.初始化
git init
3.git add,注意有一个点
git add .
4.提交,并输入提交信息
git commit -m "第一次提交"
5.建立远程连接,后面输入你的远程仓库的克隆地址
git remote add origin https://-----
6.拉取远程仓库master分支下面的初始代码
git pull --rebase origin master
7.推送代码到master分支
git push -u origin master
897

被折叠的 条评论
为什么被折叠?



