Jak zkontrolovat, vytáhnout se změní z git na konzole

Příklady kódu

2
0

zkontrolujte, zda změny po 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

zobrazit změny v čase 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.


.

V jiných jazycích

Tato stránka je v jiných jazycích

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