Skip to main content

Git Alias Generator

v1.0.3

Generate git alias blocks for team-wide CLI productivity.

Generates git alias blocks (for .gitconfig or shell profiles) for common team productivity shortcuts — log graph, branch cleanup, interactive rebase, stash pop, and more.

How to use
  • Browse alias categories and select the ones your team needs.
  • Copy the [alias] block for .gitconfig or the function block for .bashrc/.zshrc.
  • Add custom aliases by filling in the name and git command fields.

st · co · br · ci · df

lg · ll · last

undo · amend · unstage

prunebr · gone

brd · brD · recent

8 aliases selected

Generated Output
[alias]
	st = status -sb
	co = checkout
	br = branch
	ci = commit
	df = diff
	lg = log --oneline --graph --decorate --all
	ll = log --pretty=format:'%C(auto)%h%d %s %C(dim)(%ar by %an)' --graph
	last = log -1 HEAD