Skip to content

Instantly share code, notes, and snippets.

@yoshiki-0428
Last active June 13, 2019 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshiki-0428/7cddf5dacdd6ab5c3c2d5fd27c94c5f1 to your computer and use it in GitHub Desktop.
Save yoshiki-0428/7cddf5dacdd6ab5c3c2d5fd27c94c5f1 to your computer and use it in GitHub Desktop.
[user]
name = Yoshiki Ohashi
email = rrrtcdish2@gmail.com
[core]
excludesfile = /Users/YOSHIKI/.gitignore_global
pager = less -cm
quotepath = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /private/var/folders/vj/64f8wmlx0jvbbmrs0ml_fjpm0000gv/T/AppTranslocation/89817CAD-068A-47D6-9879-0752F7FFD6D8/d/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[pager]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
# diff-highlight -> https://qiita.com/yokko93/items/c28771f481f046d0060a
[alias]
tree = log --graph --all --format=\"%x09%C(cyan bold)%an%Creset%x09%C(yellow)%h%Creset %C(magenta reverse)%d%Creset %s\"
s = status
co = checkout
diffs = diff --staged
logone = log --oneline --pretty=format:'%h [%cd] %d %s <%an>' --date=format:'%Y/%m/%d %H:%M:%S'
[color]
ui = auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment