Cómo ver si hay cambios en un git pull

Ejemplos de código

2
0

comprobar los cambios después de 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 los cambios en el tiempo de 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.


.

En otros idiomas

Esta página está en otros idiomas

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