Skip to content

Instantly share code, notes, and snippets.

@vbsteven
Created November 19, 2015 09:19
Show Gist options
  • Save vbsteven/1e79ae273e58a7fa0d18 to your computer and use it in GitHub Desktop.
Save vbsteven/1e79ae273e58a7fa0d18 to your computer and use it in GitHub Desktop.
[color]
ui = auto
[alias]
co = checkout
br = branch
ci = commit
st = status -sb
visual = qgit4
df = diff
dfs = diff --staged
lgs = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
today = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --since 3am
pm = push origin master
plm = pull origin master
git = !git
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
g = grep --break --heading --line-number
[core]
ignorecase = false
excludesfile = /Users/Steven/.gitignore_global
[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
[push]
default = simple
[merge]
tool = opendiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment