Skip to content

Instantly share code, notes, and snippets.

@emelent
Last active September 9, 2019 20:22
Show Gist options
  • Save emelent/0f9cd75bcb17ae0e46bb1f440985cad0 to your computer and use it in GitHub Desktop.
Save emelent/0f9cd75bcb17ae0e46bb1f440985cad0 to your computer and use it in GitHub Desktop.
[user]
name = Roy Motloutsi
email = [email protected]
[branch]
autosetuprebase = always
[color]
ui = true
status = auto
branch = auto
[core]
editor = vim
excludesfile = /Users/roy/.gitignore_global
[merge]
tool = vimdiff
[diff]
tool = vimdiff
[alias]
co = checkout
cm = commit
st = status
rv = revert
br = branch
rs = reset
ps = push
pl = pull
hist = log --pretty=format:\"%h %ad | %s %d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
tch = log --pretty=format:\"\t-%s %d [%an]\"
pb = !git remote prune origin && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D
[push]
default = simple
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[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
[http]
cookiefile = /Users/roy/.gitcookies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment