git pull 和 git fetch 的区别


  • git pull: 从远处仓库获取最新的更新并自动合并
  • git fetch: 只是从远程仓库获取最新的更新但不自动合并