-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_gitconfig
31 lines (30 loc) · 979 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
[user]
name = Wataru Maeda
email = [email protected]
[core]
editor = nvim -c \"set fenc=utf-8\"
excludesfile = /Users/lobin/.gitignore_global
autocrlf = input
[color]
ui = auto
[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]
c = checkout
co = checkout --ours
ct = checkout --theirs
br = branch --sort=-authordate --format=\"%(align:60)%(refname:short)%(end) %(authordate:short) %(subject)\"
brv = branch -vv
logs = log --stat --graph
ra = rebase --autostash
rr = pull --rebase --autostash origin
pushf = push --force-with-lease
pushu = push -u
pushh = push -u origin HEAD
search-deploy-pr = "!f() { git log --oneline $1.. | grep -E '#\\d+'; }; f" # 第1引数現在デプロイされている最新のコミットID
[push]
default = current