Jump to content

Git log

From Squishu Wiki

Commands

  • show commit id and comment
    • git log --oneline
  • display all commit log entries from ALL BRANCHES. Normally git log displays only the entries from the current branch
    • git log --oneline --all
  • display the history in a simplified form
    • git log --simplify-by-decoration --decorate --all --oneline
  • show one line per commit, and list each file changed per commit
    • git log --shortstat --oneline