Skip to content

Instantly share code, notes, and snippets.

@cjonstrup
Created March 13, 2019 22:07
Show Gist options
  • Save cjonstrup/7a8b1bc392b4538165c6278de89d5591 to your computer and use it in GitHub Desktop.
Save cjonstrup/7a8b1bc392b4538165c6278de89d5591 to your computer and use it in GitHub Desktop.
gitconfig
[user]
name = xxx
email = xxx@xxx.dk
[core]
whitespace = trailing-space,space-before-tab
editor = vim
[diff]
renames = copy
[color]
diff = auto
status = auto
branch = auto
grep = auto
showbranch = auto
ui = auto
[gc]
# If there are many loose objects, pack them
auto = 50
# If there are too many packs, unify them
autopacklimit = 5
[alias]
ci = commit -a -v
cv = commit -v
st = status
ss = status -s
br = branch -a -v
bm = branch --merged
pr = fetch --prune
pp = pull --prune
c = checkout
b = branch
m = merge
mm = merge master
stat = log --stat
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment