Skip to content

Instantly share code, notes, and snippets.

@ingmarsk
Created January 13, 2017 16:58
Show Gist options
  • Save ingmarsk/28d83731945f833e15140ad13f766128 to your computer and use it in GitHub Desktop.
Save ingmarsk/28d83731945f833e15140ad13f766128 to your computer and use it in GitHub Desktop.
# This is Git's per-user configuration file.
[user]
name = ********
email = ********
# Please adapt and uncomment the following lines:
# name = ********
# email = ********
[user]
[filter "lfs"]
required = true
clean = git-lfs clean %f
smudge = git-lfs smudge %f
[color]
ui = true
[alias]
gr = -c core.pager='less -SRF' log --oneline --graph --decorate
lg = log
co = commit
st = status
df = diff
ad = add
ps = push
ck = checkout
br = branch
g = git
mg = merge
[core]
autocrlf = input
excludesfile = /Users/ingemar/.gitignore_global
editor = subl -n -w
[push]
default = simple
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[commit]
template = /Users/ingemar/.stCommitMsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment