Skip to content

Instantly share code, notes, and snippets.

@matheusd
Created January 20, 2026 14:15
Show Gist options
  • Select an option

  • Save matheusd/f18490973eb6246ccb21fd28c002c5e4 to your computer and use it in GitHub Desktop.

Select an option

Save matheusd/f18490973eb6246ccb21fd28c002c5e4 to your computer and use it in GitHub Desktop.
[alias]
cp = cherry-pick
cpc = cherry-pick --continue
st = status
snames = show --name-only
sfull = show --format=fuller
rb = rebase --committer-date-is-author-date
rbc = rebase --continue
rebase = rebase --comitter-date-is-author-date
dstg = diff --staged
lshort = log --decorate --abbrev-commit --format=format:'%C(bold green)%ci%C(reset) %<(20,trunc)%C(dim white)%an%C(reset) %C(bold blue)%h%C(reset) %<(60,trunc)%C(white)%s%C(reset) %C(auto)%D%C(reset)'
lgraph = lshort --graph --all
lggo = !"TZ=UTC git log --date='format-local:%Y%m%d%H%M%S' --abbrev=12 --pretty='format:%cd-%h %s'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment