git push 出現 The current branch dev has no upstream branch

  git push 出現 The current branch dev has no upstream branch.的問題

 

 

這是因爲本地的倉庫沒有和遠程倉庫沒有關聯

解決辦法

git push origin 遠程分支名 -u    後,下次只要git pull 和git push 就行

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章