Skip to content

Instantly share code, notes, and snippets.

@shirohana
Last active November 5, 2017 10:05
Show Gist options
  • Save shirohana/18034c0fa9e9203c8e11f095feb449d7 to your computer and use it in GitHub Desktop.
Save shirohana/18034c0fa9e9203c8e11f095feb449d7 to your computer and use it in GitHub Desktop.
Hana's git config
[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
conflicts = diff --name-only --diff-filter=U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment