如題,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才能提交上去不報錯怎么回事哈???
DIEA
2019-11-02 13:26:39