yisainan / web-interview

我是齐丶先丶森,收集整理全网面试题及面试技巧,旨在帮助前端工程师们找到一份好工作!更多详见公众号「前端面试秘籍」
MIT License
2.62k stars 505 forks source link

[Git] 1.简单对比git pull和git pull --rebase的使用 #997

Open qiilee opened 4 years ago

qiilee commented 4 years ago

答案:

git pull = git fetch + git merge git pull --rebase = git fetch + git rebase

解析:现在来看看git merge和git rebase的区别