Skip to content

Instantly share code, notes, and snippets.

@chesster
Created January 1, 2018 21:35
Show Gist options
  • Save chesster/e6392484340d8cb501ccf2f056f822c8 to your computer and use it in GitHub Desktop.
Save chesster/e6392484340d8cb501ccf2f056f822c8 to your computer and use it in GitHub Desktop.
Git config
[color]
ui = true
[alias]
my = shortlog -w0,0,0 --author='Malik' --format='%ai %s' --no-merges
st = status
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
ci = commit
co = checkout
df = diff
ign = ls-files -o -i --exclude-standard
delbranch = branch -D
[core]
editor = vim
excludesfile = ~/.gitignore
[user]
name = Lukasz Malik
email = lukasz.malik@chanda.pl
[github]
user = chesster
[http]
sslverify = false
[merge]
tool = meld
[diff]
tool = default-difftool
[log]
date = format:%Y-%m-%d %H:%M:%S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment