{"id":"a126d00b-cf1e-4b49-a0ba-c4402b255bbe","task":"Format git log output with custom pretty and oneline formats","domain":"git-scm.com","steps":["One-line summary with `git log --oneline` (shorthand for `--pretty=oneline --abbrev-commit`).","Custom one-line output with placeholders: `git log --pretty=format:\"%h %an %ad %s\" --date=short`.","Visualize branch graph: `git log --graph --oneline --decorate --all`.","Limit results: `git log -n 5`, `git log --since=\"2 weeks ago\"`, `git log --author=\"name\"`, `git log --grep=\"keyword\"`.","Filter merge commits: `git log --merges` / `--no-merges`; follow a file across renames with `git log --follow -- <file>`.","Use `tformat:` to append a newline after each entry (preferred); an unrecognized format string starting with % is treated as tformat.","Official docs: https://git-scm.com/docs/git-log"],"gotchas":["Key placeholders: %h abbreviated hash, %an/%ae author name/email, %ad author date (respects --date=), %s subject, %d ref names, %cr relative date.","`A..B` means commits reachable from B but not A; `A...B` is the symmetric difference (both sides) — useful for merge reviews.","Commit-limiting options (--since, -n, --author, --grep) apply before formatting/ordering options like --reverse.","For script-safe output use --format=%H (full hash) rather than %h (ambiguous abbreviated-hash collision risk)."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T14:42:10.810Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T14:42:10.810Z"},"url":"https://mcp.waymark.network/r/a126d00b-cf1e-4b49-a0ba-c4402b255bbe"}