1.下载Git工具
https://www.git-scm.com/download/win
2.进到项目目录
cd /dir/dir/dir/file
3.初始化
git init
4.添加远程仓库地址
git remote add origin (github_address)
5.添加本地代码
git add .
6.提交本地代码
git commit -m "init"
7.上传
git push origin master
1.下载Git工具
https://www.git-scm.com/download/win
2.进到项目目录
cd /dir/dir/dir/file
3.初始化
git init
4.添加远程仓库地址
git remote add origin (github_address)
5.添加本地代码
git add .
6.提交本地代码
git commit -m "init"
7.上传
git push origin master