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.

  • Revert to previous commit and ignore any uncommited changes in git
  • Can't push on a remote git branch in xcode
  • What is the convention for committing ugly code to a git repository?
  • How can I list the signatures of all the methods changed in a commit?
  • Have .gitignore to NOT ignore an .htaccess file within top level directory
  • How to copy a commit from one branch to another in git without any merging?
  • Zsh-Git-Prompt doesn't work on mac osx snow leopard
  • The latest commit gone after hard reset
  • Is it safe to “git pull” when my working tree and/or index is dirty?
  • git - removing rails development log
  • Cannot commit from command line using github 2FA
  • How to handle multiple db alter scripts coming from different Git feature branches?
  • 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.