$git pull origin master --allow-unrelated-histories
報錯:
fatal: refusing to merge unrelated histories
綁定本地 Master 到 遠程
git branch --set-upstream-to=origin/master master(將本地master設置為遠程master分支)
設置遠程推送 origin master 分支
git remote add origin 地址(設置遠程remote地址);
權(quán)限問題:
windows 系統(tǒng)左下角搜索憑據(jù)修改在普通憑據(jù)里面修改賬號和密碼