-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
53 lines (47 loc) · 1.29 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is Git's per-user configuration file.
[user]
name = dirac6582
email = [email protected]
# Please adapt and uncomment the following lines:
# name = 天野智仁
# email = [email protected]
[core]
editor = emacsclient -t #TERM=xterm-24bit emacsclient -t
autocrlf = false # 改行コードの自動変換
excludesfile = ~/.gitignore_global
symlinks = true #https://took.jp/post-447/
quotepath = false #日本語ファイルのエンコード
[hub]
# procotol = --help
procotol = ssh
[color]
ui = true # 文字色
# see also https://blog.katsubemakito.net/git/git-config-1st
[alias]
st = status
co = commit
br = branch
ck = checkout
# git-lfs setting. you need to install git-lfs via homebrew
[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
[push]
default = current
[init]
defaultBranch = master
#
[includeIf "gitdir:~/works/660nm/"]
path = ~/.gitconfig_sub
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
template = ~/works/dotfiles/commit_template
[merge]
ff = false