Github的简单上传与下载命令

1.git init
2.git remote add origin http://............(这里复制你的github地址)
3.git add .
4.git commit -m "提交说明"
5.git push -u origin master


已提交过后再上传更新:
1 -> 3 -> 4 -> 5

若上传不了,则删除一下库再重新步骤12345
git remote rm origin  //删除库

猜你喜欢

转载自blog.csdn.net/qq_31622345/article/details/78842813