0%

git-log

##

git log --oneline
git log --merges --oneline
git log --no-merges --oneline

params

--abbrev                                    -- set minimum SHA1 display-length
--abbrev                                    -- set minimum SHA1 display-length (for use with --abbrev-commit)
--abbrev-commit                             -- show only partial prefixes of commit object names
--after                   --since           -- show commits more recent than given date
--all                                       -- show all commits from refs
--all-match                                 -- limit commits to ones matching all --grep, --author, and --committer
--ancestry-path                             -- only display commits that exists directly on ancestry chains
--author                                    -- limit commits to those by given author
--author-date-order                         -- display commits in author date order
--before                  --until           -- show commits older than given date
--binary                                    -- in addition to --full-index, output binary diffs for git-apply
--bisect                                    -- pretend as if refs/bisect/bad --not refs/bisect/good-* was given on command line
--boundary                                  -- output uninteresting commits at boundary
--branches                                  -- show all commits from refs/heads
--break-rewrites                            -- break complete rewrite changes into pairs of given size
--cc                                        -- combined diff format for merge commits
--check                                     -- warn if changes introduce trailing whitespace or space/tab indents
--cherry                                    -- synonym for --right-only --cherry-mark --no-merges
--cherry-mark                               -- like --cherry-pick but mark equivalent commits instead of omitting them
--cherry-pick                               -- omit any commit that introduces the same change as another commit on "the other side"
--children                                  -- display children of commit
--color                                     -- show colored diff
--color-words                               -- show colored-word diff
--committer                                 -- limit commits to those by given committer
--count                                     -- display how many commits would have been listed
--date                                      -- format of date output
--date-order                                -- display commits in date order
--decorate                                  -- print out ref names of any commits that are shown
--default                                   -- use argument as default revision
--dense                                     -- only display selected commits, plus meaningful history
--diff-algorithm                            -- choose a diff algorithm
--diff-filter                               -- select certain kinds of files for diff
--dirstat                                   -- generate dirstat by amount of changes
--dirstat-by-file                           -- generate dirstat by number of files
--do-walk                                   -- only display given revs, traversing their ancestors
--dst-prefix                                -- use given prefix for destination
--early-output            --output          -- undocumented
--encoding                                  -- output log messages in given encoding
--exclude                                   -- do not include refs matching glob
--exit-code                                 -- report exit code 1 if differences, 0 otherwise
--ext-diff                                  -- allow external diff helper to be executed
--extended-regexp                           -- use POSIX extended regexps
--find-copies                               -- detect copies as well as renames with given scope
--find-copies-harder                        -- try harder to find copies
--find-renames                              -- Detect renames with given scope
--first-parent                              -- follow only first parent from merge commits
--fixed-strings                             -- do not interpret patterns as regexps
--follow                                    -- follow renames
--format                  --pretty          -- pretty print commit messages
--full-diff                                 -- show full commit diffs when using log -p, not only those affecting the given path
--full-history                              -- do not prune history
--full-index                                -- show full object name of pre- and post-image blob
--glob                                      -- show all commits from refs matching glob
--graph                                     -- display graphical representation of commit history
--grep                                      -- limit commits to those with log messages matching the given pattern
--grep-reflog                               -- limit commits to ones whose reflog message matches the given pattern (with -g, --walk-
--histogram                                 -- generate diffs with histogram algorithm
--ignore-all-space                          -- ignore white space when comparing lines
--ignore-blank-lines                        -- do not show hunks that add or remove blank lines
--ignore-missing                            -- ignore invalid object an ref names on command line
--ignore-space-at-eol                       -- ignore changes in whitespace at end of line
--ignore-space-change                       -- ignore changes in amount of white space
--ignore-submodules                         -- ignore changes to submodules
--inter-hunk-context                        -- combine hunks closer than n lines
--irreversible-delete                       -- omit the preimage for deletes
--left-only                                 -- list only commits on the left side of a symmetric range
--left-right                                -- mark which side of symmetric diff commit is reachable from
--log-size                                  -- print log message size in bytes before the message
--max-age                                   -- maximum age of commits to output
--max-count                                 -- maximum number of commits to display
--max-parents                               -- show only commits having at most <n> commits
--merge                                     -- after a failed merge, show refs that touch files having a conflict
--merges                                    -- display only merge commits
--min-age                                   -- minimum age of commits to output
--minimal                                   -- spend extra time to make sure the smallest possible diff is producedm
--min-parents                               -- show only commits having at least <n> commits
--name-only                                 -- show only names of changed files
--name-status                               -- show only names and status of changed files
--no-abbrev-commit        --no-abbrev       -- show the full 40-byte hexadecimal commit object name
--no-color                                  -- turn off colored diff
--no-decorate                               -- do not print out ref names of any commits that are shown
--no-ext-diff                               -- disallow external diff helper to be executed
--no-follow                                 -- do not follow renames
--no-max-parents          --no-min-parents  -- reset limit
--no-merges                                 -- do not display commits with more than one parent
--no-notes                                  -- do not show notes that annotate commit
--no-patch                                  -- suppress diff output
--no-prefix                                 -- do not show any source or destination prefix
--no-renames                                -- turn off rename detection
--not                                       -- reverses meaning of ^ prefix for revisions that follow
--notes                                     -- show notes that annotate commit, with optional ref argument show this notes ref instea
--no-textconv                               -- do not allow external text conversion filters to be run when comparing binary files
--no-walk                                   -- only display given revs, do not traverse their ancestors
--numstat                                   -- generate more machine-friendly diffstat
--objects                                   -- display object ids of objects referenced by listed commits
--objects-edge                              -- display object ids of objects referenced by listed and excluded commits
--oneline                                   -- shorthand for --pretty=oneline --abbrev-commit
--parents                                   -- display parents of commit
--patch                                     -- generate diff in patch format
--patch-with-raw                            -- generate patch but also keep the default raw diff output
--patch-with-stat                           -- generate patch and prepend its diffstat
--patience                                  -- generate diffs with patience algorithm
--pickaxe-all                               -- when -S finds a change, show all changes in that changeset
--pickaxe-regex                             -- treat argument of -S as regular expression
--quiet                                     -- disable all output
--raw                                       -- generate default raw diff output
--reflog                                    -- show all commits from reflogs
--regexp-ignore-case                        -- match regexps ignoring case
--relative                                  -- exclude changes outside and output relative to given directory
--relative-date                             -- show dates relative to current time
--remotes                                   -- show all commits from refs/remotes
--remove-empty                              -- stop when given path disappears from tree
--reverse                                   -- display commits in reverse order
--right-only                                -- list only commits on the right side of a symmetric range
--shortstat                                 -- generate summary diffstat
--show-linear-break                         -- show a barrier between commits from different branches
--show-signature                            -- validate GPG signature of commit
--simplify-by-decoration                    -- show only commits that are referenced by a ref
--simplify-merges                           -- milder version of --full-history
--skip                                      -- skip given number of commits before output
--source                                    -- show which ref each commit is reached from
--sparse                                    -- when paths are given, display only commits that changes any of them
--src-prefix                                -- use given prefix for source
--stat                                      -- generate diffstat instead of patch
--submodule                                 -- select output format for submodule differences
--summary                                   -- generate condensed summary of extended header information
--tags                                      -- show all commits from refs/tags
--text                                      -- treat all files as text
--textconv                                  -- allow external text conversion filters to be run when comparing binary files
--topo-order                                -- display commits in topological order
--unified                                   -- generate diff with given lines of context
--use-mailmap                               -- use mailmap file to map author and committer names and email
--walk-reflogs                              -- walk reflog entries from most recent to oldest
--word-diff                                 -- show word diff
--word-diff-regex                           -- specify what constitutes a word