1、登录github账号,创建仓库。
1、1

1、2

1、3

仓库创建完毕:

2、确保安装 git,在自己本地项目文件夹中右键选择git bash here,打开git dos窗口
依次执行:
初始化本地仓库 git init
本地项目添加到仓库 git add .
填写提交信息 git commit -m "提交信息"
输入“git remote add origin [https://github.com/shench5612390/Test.git” (你自己的https地址),连接你的guthub仓库。
输入“git push -u origin master”,上传项目到Github。这里会要求输入Github的账号密码,按要求输入就可以。
网友评论