I would like to see all the files which I'm going to update in my local repo before I do 'git pull'. Is there any way?
Asked
Active
Viewed 34 times
1 Answers
1
Do a fetch instead of a pull:
git fetch upstream
This will download the changes without putting them into your working directory.
To compare them, do:
git diff HEAD upstream/branchname
Then you can merge them with:
git merge upstream/branchname

Thomas Kelley
- 10,187
- 1
- 36
- 43