-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
47 lines (39 loc) · 1.03 KB
/
.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
# in the local gitconfig, include these lines:
# [include]
# path = ~/dotfiles/.gitconfig
[alias]
st = status
ci = commit
d = diff
dc = diff --cached
co = checkout
graph = log --graph --all --decorate
g = log --graph --decorate --branches
go = -c log.showSignature=false log --graph --decorate --oneline --branches HEAD
gosig = -c log.showSignature=false log --graph --format='%C(auto)%h %d %Cgreen(sig: %G?)%C(auto) %s' --branches HEAD
list = show --name-only
cp = cherry-pick
rb = rebase
b = branch
su = submodule update --init --recursive
amend = commit --amend --no-edit --date=now
reword = commit --amend --only --date=now
loghashes = -c log.showSignature=false log --format='%H'
f = fetch -p
id = "! git -c log.showSignature=false log --format='%H' \"$1^\"..\"$1\""
[color]
ui = true
[push]
default = upstream
[advice]
skippedCherryPicks = false
detachedHead = false
[core]
commentChar = ";"
[commit]
gpgsign = true
[log]
showSignature = true
[submodule]
recurse = true
fetchJobs = 20