Skip to content

Instantly share code, notes, and snippets.

@shirohana
Last active February 19, 2017 16:19
Show Gist options
  • Save shirohana/b9593c0d4cb8b84d9b3f49ff550eb332 to your computer and use it in GitHub Desktop.
Save shirohana/b9593c0d4cb8b84d9b3f49ff550eb332 to your computer and use it in GitHub Desktop.
Hana's git aliases
[alias]
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
lga = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
range = show --oneline --quiet
tracked = ls-files --stage
untracked = ls-files --exclude-standard --others
ignored = ls-files --ignored --exclude-standard --others
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment