将本地代码上传到仓库
新建仓库,名称可以和本地程序同名
git init
git add .
git commit -m "first"
git remote add origin git地址
git push -u origin master

相关文章: