-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
53 lines (40 loc) · 913 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
42
43
44
45
46
47
48
49
50
51
52
53
[core]
excludesfile = ~/.gitignore_global
editor = nvim
[alias]
st = status
cm = commit -s -m
ck = checkout
up = "!git fetch upstream && git merge upstream/main"
last = log -1 HEAD
lastd = diff HEAD~1...HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[init]
defaultBranch = main
[help]
autocorrect = 5
[push]
autoSetupRemote = true
[pull]
rebase = true
[merge]
conflictstyle = diff3
[log]
date = iso
[branch]
sort = -committerdate
; [url "git@github.com:"]
; insteadOf = "https://github.com/"
[diff]
external = difft
[user]
email = kemingy94@gmail.com
name = Keming
[includeIf "gitdir:~/TensorChord/"]
path = ~/.gitconfig-tensorchord
[credential "https://github.com"]
helper =
helper = gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = gh auth git-credential