-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
55 lines (55 loc) · 1.02 KB
/
.gitconfig
File metadata and controls
55 lines (55 loc) · 1.02 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
[alias]
s = status
c = checkout
co = commit
br = branch
d = diff
ds = diff --staged
pu = push
pf = pull --ff
st = stash --global -e
sts = stash show stash
stl = stash -l
cgl = config --global -l
cge = config --global -e
cll = config --local -l
cle = config --local -e
rh = reset --hard
rso = remote show origin
alias = config --get-regexp ^alias
unstage = reset HEAD --
l = log
lo = log --oneline --decorate
[commit]
gpgSign = true
[core]
excludesfile = /home/iain/.gitignore_global
editor = nvim
autocrlf = input
[user]
email = iain@inulty.com
name = Iain McNulty
signingKey = ECD99B46
useConfigOnly = true
[push]
default = current
[pull]
rebase = true
ff = true
[date]
date = iso
[safe]
directory = /opt/.asdf
[branch]
sort = -committerdate
[rerere]
enabled = true
autoUpdate = true
[init]
defaultBranch = main
; [include]
; path = ~/.private-git-config
; [includeIf "gitdir:~/Code/personal/"]
; path = .gitconfig-personal
; [includeIf "gitdir:~/Code/professional/"]
; path = .gitconfig-professional