Android 新建工程上傳代碼報錯

1.Can't Update
            No tracked branch configured for branch master or the branch doesn't exist.
            To make your branch track a remote branch call, for example,
            git branch --set-upstream-to origin/master master (show balloon)

 

輸入 git fetch

git branch --set-upstream-to=origin/master
 

2.Error merging: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories
 

pull - > add -> commit -> push

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