Skip to content

Instantly share code, notes, and snippets.

@KaiserKatze
Created June 28, 2019 07:00
Show Gist options
  • Select an option

  • Save KaiserKatze/6ef6a5f90c0175395c3047ffad6c1382 to your computer and use it in GitHub Desktop.

Select an option

Save KaiserKatze/6ef6a5f90c0175395c3047ffad6c1382 to your computer and use it in GitHub Desktop.
Personal Git configuration
[user]
name = KaiserKatze
email = donizyo@gmail.com
[core]
editor = vim
autocrlf = true
whitespace = trailing-space,space-before-tab
alias = adda
[color]
ui = true
[alias]
st = status
co = checkout
coh = checkout head~
ci = commit
br = branch
unstage = reset HEAD
df = diff
dfc = diff --cached
dfh = diff --cached head~
lg = log --color --graph --stat --pretty=format:'%Cred%h%Creset %G? -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgp = lg -p
amend = commit -a --amend -C HEAD --no-edit
discard = checkout --
ss = stash save
sl = stash list
sa = stash apply
sd = stash drop
cis = commit -S
tgs = tag -s
mg = merge --no-commit --no-ff
ad = add
ada = add -A
dft = difftool
up = commit -m \"Update\"
upa = !git up -a
dfi = !git df --ignore-all-space
dfw = !git df --word-diff
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[winUpdater]
recentlySeenVersion = 2.22.0.windows.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment