Skip to content

Instantly share code, notes, and snippets.

@whohe
Last active August 24, 2024 17:03
Show Gist options
  • Save whohe/9bf4574b1d2d00a613e2 to your computer and use it in GitHub Desktop.
Save whohe/9bf4574b1d2d00a613e2 to your computer and use it in GitHub Desktop.
my own .gitconfig
[https]
sslverify = false
[user]
name = who
email = [email protected]
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
d = difftool
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)' --all
st = status
c = commit
ck = checkout
br = branch
[push]
default = simple
[color]
status = auto
[core]
filemode = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment