-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
64 lines (54 loc) · 1.24 KB
/
gitconfig
File metadata and controls
64 lines (54 loc) · 1.24 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
56
57
58
59
60
61
62
63
64
[user]
name = tkancf
email = 18424095+tkancf@users.noreply.github.com
[include]
path = ~/.gitconfig.local
[url "https://"]
insteadOf = git://
[ghq]
root = ~/src
[user]
useConfigOnly = true
[core]
editor = vim
excludesfile = ~/.gitignore
quotepath = false
[alias]
d = diff
dc = diff --cached
g = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short
graph = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short
ignore = !([ ! -e .gitignore ] && touch .gitignore) | echo $1 >> .gitignore
info = remote show origin
l = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset'
ll = log --stat --abbrev-commit
s = status
s = status --short --branch
st = status
su = submodule update
a = add
d = diff
dc = diff --cached
info = remote show origin
see = browse
[push]
default = matching
[merge]
ff = false
tool = vimdiff
conflictstyle = diff3
[pull]
ff = only
[color]
ui = true
[credential]
helper = osxkeychain
[mergetool]
prompt = false
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true