- 在github上建立新的仓库,方便起见,一下均用repo代替
- 进入工程目录
- 输入以下命令
git init
git remote add origin git@github.com:Username/repo.git
git add .
git commit -m "Comment"
git push -u origin master
git init
git remote add origin git@github.com:Username/repo.git
git add .
git commit -m "Comment"
git push -u origin master
本文标题:Git提交本地仓库
本文链接:https://www.haomeiwen.com/subject/ordijttx.html
网友评论