-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
41 lines (41 loc) · 1002 Bytes
/
.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
[color]
ui = true
branch = auto
diff = auto
status = auto
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --all --oneline --decorate
branch-name = "!git rev-parse --abbrev-ref HEAD"
f = "!git fetch --all --prune && git rebase origin/$(git branch-name)"
p = "!git push origin $(git branch-name)"
fet = "!git fetch origin && git reset --hard origin/$(git branch-name)"
[core]
excludesfile = ~/.gitignore
[push]
default = nothing
[include]
path = ~/.gitconfig.local
[merge]
ff = false
tool = vimdiff3
[mergetool "vimdiff3"]
cmd = ~/bin/git_merge_wrapper3 \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
[mergetool]
keepBackup = false
[init]
templatedir = ~/.git_template
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[diff]
tool = vimdiff
[difftool]
prompt = false
[user]
name = hirokisan
email = dev@hirokiueno.com