Git Log Formatter

Build custom, clean, and professional one-line or decorated git log format commands interactively.

git log --graph --color --pretty=format:"%h%d %s (%ar by %an)"
Tip: Set this up as a global alias for quick access: git config --global alias.lg "..."

Common Placeholder Codes

1. Hashes & Refs

%H (full hash), %h (short hash), %d (branch/tag ref decorations).

2. Authors & Comitters

%an (author name), %ae (author email), %ad (author date).

3. Messages

%s (subject line summary), %b (commit body descriptions).

What is Git Log Formatter?

Git Log Formatter is a browser-based developer utility that helps you work with its relevant input and output without installing a separate desktop application.

How to use this tool

Enter or paste the required input, select the available options, then review the result before copying or applying it in your project. Test the result in its target environment when accuracy matters.

Frequently Asked Questions (FAQ)

Yes. This tool is designed to process the values you enter in your browser.