git pull 和 git pull --rebase

rebase的意思貌似就是 形成一条直线
在以前是说要git pull 这样形成最新的代码到本地,然后 本地在上传的到远程, 不然的话,如果直接git push --force则直接覆盖了别人的代码,那样也太狠了吧
Git pull --rebase和git pull 的区别就是形成一个直线,不是菱形。
https://www.cnblogs.com/kevingrace/p/5896706.html

猜你喜欢

转载自www.cnblogs.com/qinqiu/p/9067887.html
今日推荐