上傳項目到github上的命令

上傳已有工程到github上的命令

git init
git add .   //添加所有文件到本地倉庫
git commit -m "first commit"
git remote add origin [email protected]:dengzhaotai/vlc_play.git
git push -u origin master

git remote rm origin

git remote add origin [email protected]:dengzhaotai/vlc_play.git 就不會報錯了!


發佈了20 篇原創文章 · 獲贊 4 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章