Skip to content

Instantly share code, notes, and snippets.

@pmashchak
Created April 15, 2022 13:52
Show Gist options
  • Save pmashchak/e911c0b16848fc330ff271f384f70efb to your computer and use it in GitHub Desktop.
Save pmashchak/e911c0b16848fc330ff271f384f70efb to your computer and use it in GitHub Desktop.
[alias]
co = checkout
br = branch
ci = commit
st = status
[user]
name = Pavlo Mashchak
email = pmashchak@gmail.com
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment