-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
45 lines (45 loc) · 981 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
[user]
name = James Warren
email = [email protected]
signingkey = 39E8D9ED599E4AB2
[core]
editor = vim
filemode = false
excludesfile = ~/.gitignore_global
attributesfile = ~/.gitattributes
[alias]
co = checkout
br = branch
cm = commit
st = status
ap = add -p
amend = commit --amend
unstage = reset HEAD --
last = log -1 HEAD
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an %ae>%Creset' --abbrev-commit
up = pull
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = red
[hub]
protocol = https
[rebase]
autoStash = true
[pull]
rebase = true
[push]
simple = true
[commit]
gpgsign = true
[includeIf "gitdir:~/Projects/Personal/"]
path = ~/.gitconfig_personal
[init]
defaultBranch = main