Skip to content

Instantly share code, notes, and snippets.

@yujiorama
Created December 6, 2021 22:58
Show Gist options
  • Save yujiorama/4d4ad5e1bb95a3efbc910a67a274cf64 to your computer and use it in GitHub Desktop.
Save yujiorama/4d4ad5e1bb95a3efbc910a67a274cf64 to your computer and use it in GitHub Desktop.
my-gitconfig
[color]
status = auto
diff = auto
branch = auto
interactive = auto
grep = auto
[core]
excludesFile = ~/.gitignore
autocrlf = input
filemode = false
quotepath = false
sshCommand = ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
longpaths = true
[alias]
ci = commit
st = status
co = checkout
br = branch
wc = whatchanged
lp = log -p
la = log --pretty=\"format:%ad %h (%an): %s\" --date=short
lr = log origin
lo = log --oneline
oneline = log --pretty=oneline
ranking = shortlog -s -n --no-merges
log-graph = log --graph --date=short --pretty=format:'%Cgreen%h %cd %Cblue%cn %Creset%s'
log-all = log --graph --all --color --pretty='%x09%h %cn%x09%s %Cred%d%Creset'
dw = diff --color-words
dc = diff --cached
[i18n]
commitencoding = UTF-8
[push]
default = upstream
[pull]
rebase = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment