After (or before) doing a git pull, is there an easy way to see what the updates are that have been pushed by others to the branch I am working on?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
|||||
|
|
I think you'd first do a
to pull the new commits, but not merge them yet. Then you could log the changes between your current repository and the remote origin:
Finally, merge the changes:
For example:
and:
|
|||
|
|
|
Rather than pulling the other branch into yours, you can first inspect the commits that will be pulled in with |
|||
|
|