如題,dev,master兩個分支,將dev變基到master上,然后dev再去add,commit,push,會報如下錯`hint:Updateswererejectedbecausethetipofyourcurrentbranchisbehindhint:itsremotecounterpart.Integratetheremotechanges(e.g.hint:'gitpull...')beforepushingagain.hint:Seethe'Noteaboutfast-forwards'in'gitpush--help'fordetails.`使用gitpush-f則會成功提交,且提交線變成一條
在線等!為什么git變基之后需要git push -f才能提交上去不報錯大佬們有什么好的建議?
翻翻過去那場雪
2019-11-03 11:05:11