Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm only interested in which files are newly created/modified/deleted between two commits,

is there a way to get such information?

share|improve this question

closed as off topic by EEAA, voretaq7 Oct 27 '12 at 17:27

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

git diff --name-only rev1 rev2

This will show only the names of files that were changed in some way between the two revisions.

share|improve this answer
$ git diff revision1 revision2
share|improve this answer
It's showing more than I want,which is noise to me. – telnet Sep 19 '11 at 3:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.