📜  在 git pull 时显示更改 - Shell-Bash 代码示例

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

代码示例1
git log --name-status -2

# Will show you the names of the files that changed for the last two commits.

git log -p -2
# Will show you the changes themselves.

## =================================
## Before you pull,

git fetch
git log --name-status origin/master..
# Will show you what commits you are about to retrieve, along with the names of the files.


.