-
-
Save chuck0523/f48702f022c6eab7ab250915232e6fdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = /path/to/.gitignore_global | |
# ↓↓文字化け対策ここから (http://www-creators.com/archives/78) | |
pager = less -cm | |
quotepath = false | |
editor = vim | |
# ↑↑文字化け対策ここまで | |
[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 | |
[alias] | |
st = status | |
br = branch | |
co = checkout | |
ad = !"git add ." | |
override = !"git commit --amend --no-edit" | |
take = !"git cherry-pick -n" | |
abort = !"git add . && git stash" | |
cancel = !"git reset --hard HEAD^" | |
done = "!f() { git abort && git checkout master && git branch -D @{-1}; }; f" | |
push-f = !"git push --force-with-lease --force-if-includes" | |
[user] | |
name = "my name" | |
email = my email address | |
[color] | |
ui = true | |
[pager] | |
branch = cat | |
[commit] | |
template = /path/to/file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment