Skip to content

Instantly share code, notes, and snippets.

@khushalbokadey
Created July 31, 2019 04:47
Show Gist options
  • Save khushalbokadey/2116c6107b5c86a7bd0be07f634c7f5d to your computer and use it in GitHub Desktop.
Save khushalbokadey/2116c6107b5c86a7bd0be07f634c7f5d to your computer and use it in GitHub Desktop.
Git config
[user]
name = <Name>
email = <email>
[color]
status = auto
branch = auto
ui = auto
interactive = auto
[alias]
br = branch
co = checkout
st = status
up = pull --rebase
fp = fetch --prune
alog = log --decorate --oneline --stat --all
[log]
decorate = short
[core]
editor = vim
excludesfile = <home>/.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
[merge]
tool = meld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment