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.