-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
63 lines (50 loc) · 1.46 KB
/
Copy path.gitconfig
File metadata and controls
63 lines (50 loc) · 1.46 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
[include]
path = ~/.gitconfig.user
[url "github:"]
pushInsteadOf = https://github.com/
pushInsteadOf = git@github.com:
[alias]
alias = !git config --get-regexp '^alias\\.' | sed 's/alias\\.\\([^ ]*\\) \\(.*\\)/\\1\\\t => \\2/' | sort
ls = "log --date=short --pretty=format:'%C(green)%cd%Creset %C(yellow)%h%Creset %C(cyan)%cn%Creset %C(magenta)%G?%Creset %s '"
ll = "log --date=short --pretty=format:'%C(green)%cd%Creset %C(yellow)%h%Creset %C(cyan)%cn%Creset %C(magenta)%G?%Creset %B%- '"
lg = "log --date=short --oneline --graph --pretty=format:'%C(green)%cd%Creset %C(yellow)%h%Creset %C(cyan)%cn%Creset %s '"
ln = "log --date=short --oneline --pretty=format:'%C(green)%cd%Creset %C(yellow)%h%Creset %C(cyan)%cn%Creset %s' --decorate --numstat"
a = add .
aa = !git add . && git add -u && git status
amend = commit --amend --reuse-message=HEAD
c = commit
co = checkout
cl = clone
b = branch
m = merge
p = push
po = push origin master
pl = pull
patch = format-patch HEAD^ -o ./patch
s = status
st = stash
sh = show
refresh= !git fetch origin && git remote prune origin
[core]
editor = nvim
pager = delta
[color]
ui = auto
[delta]
navigate = true
dark = true
[interactive]
diffFilter = delta --color-only
[commit]
gpgsign = true
template = ~/.gitmessage
[merge]
conflictstyle = zdiff3
[tag]
gpgSign = true
[pull]
rebase = false
[trailer "author"]
key = "Co-authored-by: "
[trailer "sign"]
key = "Sign-off-by: "