-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
executable file
·35 lines (35 loc) · 1003 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
[core]
excludesfile = ~/.gitignore_global
quotepath = false # Enable Japanese.
[diff]
tool = vimdiff
[difftool]
prompt = false
[difftool "vimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[user]
name =
email =
[push]
default = current # Create remote branch as same name local working branch.
[merge]
ff = false # Merge branch with non-fast forward option by default.
[rebase]
autostash = true
[alias]
pr = remote prune origin
gr = log --graph --date-order -C -M --pretty=format:\"%C(red)%h%Creset %C(cyan)%ad%Creset %C(yellow)%an%Creset %Cgreen%d%Creset %s\" --all --date=short
sb = submodule
br = branch
st = status
co = checkout
cm = commit
sb-all = submodule foreach --recursive
now = rev-parse --abbrev-ref HEAD
fe = fetch
fe-all = fetch --recurse-submodules
nm = branch --no-merged
diff-all = submodule foreach --recursive git diff
up-all = submodule update --recursive
[credential]
helper = cache