git上传项目命令方式

1.命令行中,输入 git init

2.将文件夹中的内容全部添加到git管理中 git add .

3.提交 git commit -m 'first commit'

4.连接github仓库 git remote add origin https://github.com/shench5612390/Test.git%E2%80%9D%EF%BC%88git

5.git push -u origin master

项目提交成功

猜你喜欢

转载自www.cnblogs.com/godlove/p/11769572.html