Skip to content

Instantly share code, notes, and snippets.

@ducito
Last active April 10, 2018 01:31
Show Gist options
  • Save ducito/4e434e5ca3dc0ec7462e109c09789aa3 to your computer and use it in GitHub Desktop.
Save ducito/4e434e5ca3dc0ec7462e109c09789aa3 to your computer and use it in GitHub Desktop.
[core]
excludesfile = /Users/`whoami`/.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
[user]
email = ngocducdev@gmail.com
name = Duc Nguyen
[commit]
template = /Users/`whoami`/.stCommitMsg
[alias]
up = pull --rebase --autostash
amd = commit --amend
l = log --decorate --oneline --graph
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgg = log --decorate --graph --abbrev-commit --date=relative
[pull]
rebase = true
[rebase]
autoStash = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment