📜  git pull 或 fetch 差异 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:55.329000             🧑  作者: Mango

代码示例1
git fetch is the command that tells your local git to retrieve the latest meta-data info from the original (yet doesn’t do any file transferring. It’s more like just checking to see if there are any changes available).

git pull on the other hand does that AND brings (copy) those changes from the remote repository.