In Git, how do I get a detailed list of file changes from one revision to another?

I use a Git repository on my server to version user data files sent to the server. I'm interested in getting a list of changed files between any two revisions.

I know about git diff --name-only , but this only gives me a list of file names. I'm especially interested in renames and copies, too. Ideally, the output would be something like this:

updated:  userData.txt
renamed:  picture.jpg -> background.jpg
copied:   song.mp3 -> song.mp3.bkp

Is it possible? --name-status also doesn't seem to indicate renames and copies.

23
задан Jean-Philippe Pellet 19 May 2011 в 11:43
поделиться