Skip to content

Instantly share code, notes, and snippets.

@tap52384
Created October 11, 2018 12:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tap52384/ec9b2d8f86265b856af769d932d2ac85 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = name
email = email
[core]
excludesfile = /Users/username/.gitignore_global
autocrlf = input
[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
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment