Git know which files will be changed before git pull

To know which file is going to be modified, you have to start by fetching the branches

fetch git

then to see the files

git log -p HEAD.. origin

and differences (three points, not two)

git diff HEAD... origin

Leave a Reply