git fetch和git pull的区别

267 阅读1分钟

git fetch:相当于是从远程获取最新版本到本地,不会自动合并(merger)。 git push:git pull看起来像git fetch+get merge,会自动合并。