0

Possible Duplicate:
Using Git how do I find modified files between local and remote

Can anyone tell me the Git command to find all the file names committed and pushed by others and not pulled(updated) by me in my repository. I want to see the changed files without running the pull command.

Thanks.

Community
  • 1
  • 1
kard
  • 1

1 Answers1

1

You can run git fetch which fetch new commits from your remote servers but its not do a merge. SO you can run this..

git diff master origin/master

You can get the git log of all commits that master needs to be a superset of origin/master by doing

git log master origin/master

or vice versa by changing master and origin/master position

Sumit Singh
  • 24,095
  • 8
  • 74
  • 100