Como ver se há alterações no git pull

Exemplos de código

2
0

verificar alterações após git pull

The very first line in the output of a pull looks like this:

$ git pull
Updating 37b431a..b2615b4

So to get the diff between before and after pull request, use --> 
$ git diff 37b431a..b2615b4
1
0

mostrar alterações no momento do git pull

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.


.

Em outros idiomas

Esta página está em outros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................