git commit – how can I see the changes that were made while doing a commit

Can I set git to show me the diffs while doing the interactive commit (i.e. no -m”msg”)

This would let me see what the changes are I am committing.

  • How to find out the space requirements of files to be committed?
  • git: how to move committed changes from master to branch?
  • Grouping committed files together (as a single commit) after you've already committed them to the repository in Svn?
  • composing a commit message without actually commiting
  • RabbitVcs and Commit
  • Netbeans: How to show all (git) commits than will be pushed?
  • Different .gitconfig for a given subdirectory?
  • The Repository is Locked - Error while trying to commit into source control
  • Git checkout <latest branch you were working on> command
  • Missing git file hooks/post-receive.sample
  • git branch flag for --no-merged and not --contains?
  • Command to create ssh config file using git bash(windows)?
  • One Solution collect form web for “git commit – how can I see the changes that were made while doing a commit”

    Try git commit -v

    As it says in the git-commit manual page:

       -v , --verbose
              Show unified diff between the HEAD commit and what would be
              committed at the bottom of the commit message template. Note
              that this diff output doesn’t have its lines prefixed with #.
    Git Baby is a git and github fan, let's start git clone.