-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_gitconfig
More file actions
55 lines (55 loc) · 1.15 KB
/
_gitconfig
File metadata and controls
55 lines (55 loc) · 1.15 KB
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
54
55
[user]
name = petitviolet
email = violethero0820@gmail.com
[alias]
br = branch --verbose
di = diff --unified=0
st = status
co = checkout
sw = switch
rs = restore
lp = log --decorate --stat --patch
graph = log --graph --date=short --format=\"%C(yellow)%h%C(reset) %C(magenta)[%ad]%C(reset) %C(cyan)@%an%C(reset) %C(auto)%d%C(reset) %s \"
ls = ls-files
re = reset
cm = commit -m
ap = add -p
ae = add -e
rc = rebase --continue
ra = rebase --abort
cp = cherry-pick
[rebase]
instructionFormat = [%ad][%an] %s
[push]
default = simple
[color]
ui = auto
[core]
# autocrlf = true
excludesfile = ~/.gitignore_global
editor = nvim
quotepath = false
pager = cat
[ghq]
root = ~/.ghq
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[grep]
lineNumber = true
[github]
user = petitviolet
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[init]
defaultBranch = main
# templatedir = ~/.git_template
[pretty]
oneline-log = format:%C(red)%ad%Creset %C(green)%h%Creset %C(blue)%<(15,trunc)%an%Creset: %s
[credential]
helper = osxkeychain
[commit]
verbose = true