Skip to content

Instantly share code, notes, and snippets.

@spilist
Created September 28, 2018 08:29
Show Gist options
  • Select an option

  • Save spilist/6f019e9ade01d8b5eea26c2d867a726f to your computer and use it in GitHub Desktop.

Select an option

Save spilist/6f019e9ade01d8b5eea26c2d867a726f to your computer and use it in GitHub Desktop.
[core]
excludesfile = /Users/spilist/.gitignore_global
editor = "atom -n -w"
eol = lf
[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]
name = Hwidong Bae
email = [email protected]
[commit]
verbose = true
template = /Users/spilist/.stCommitMsg
[push]
default = current
[rebase]
autosquash = true
autostash = true
[merge]
ff = only
[credential]
helper = osxkeychain
[alias]
s = status -sb
co = checkout
lg = log --oneline --decorate
graph = lg --graph --all
search = "!f() { git lg -i --grep=$1; }; f"
diff-search = lg -p -S
amend = commit --amend
fix = commit --fixup
unstage = reset HEAD --
uncommit = reset HEAD~1
open = "!f() { hub browse -- commit/$1; }; f"
prune = remote prune origin
up = "!git fetch; git pull"
git = "!exec git"
[color]
ui = auto
[http]
postBuffer = 524288000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment