View a git diff-tree in a reasonable format

I’m about to do a git svn dcommit to our svn repo — and as is recommended in a number of places, I wanted to figure out exactly what I was going to be committing with a dry run. As such I ran:

git svn dcommit -n

This produced output:

  • Heroku push gets rejected
  • Git pull and push don't work
  • svn-git : git cat-file “not a valid object name” bad named file unfindable
  • Cygwin and gitolite 3. How to set it up on windows?
  • git cherry-pick and ignoring eol type
  • How to persist a git symbolic-ref
  • Committing to http://somerepo/svn/branches/somebranch
    diff-tree 1b937dacb302908602caedf1798171fb1b7afc81~1 1b937dacb302908602caedf1798171fb1b7afc81

    How do I view this in a format that I can consume as a human? A list of modified files comes to mind. This is probably easy, but running git diff-tree on those hashes gives me a reference to a directory and a some other hashes, as well as some numbers. Not quite sure what to make of it.

    Thanks very much,

  • Git - Automatically track all files in a directory
  • Eclipse shows error when there are none
  • Gerrit branch access modification through command line
  • Git: Get a subfolder from a repository to a new one without losing history
  • Does git merge reapply commits onto another commit?
  • How can I work on a bzr/hg repository with XCode 4?
  • One Solution collect form web for “View a git diff-tree in a reasonable format”

    Don’t use diff-tree, use diff:

    # full diff
    git diff 1b937da~1 1b937da
    # list of files, with status M/A/D/R/C (modified, added, deleted, renamed, copied)
    git diff --name-status 1b937da~1 1b937da
    Git Baby is a git and github fan, let's start git clone.