-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
44 lines (44 loc) · 1.07 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
[user]
name = Øyvind Ingebrigtsen Øvergaard
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
ui = auto
[alias]
ci = commit
st = status -sb
co = checkout
df = diff
dc = diff --cached
lg = log --pretty=format:'%C(blue)%h%C(reset) %C(yellow)%G?%C(reset) -%C(magenta)%d%C(reset) %s %C(cyan)(%cr)%C(reset)' --abbrev-commit --date=relative --topo-order
who = shortlog -s --
unstage = reset HEAD
pr = pull --rebase
conflicted = diff --name-only --diff-filter=U
recent-branches = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(color:magenta)%(refname:short)%(color:reset)'
staged = diff --cached
[pack]
threads = 0
[core]
autocrlf = input
excludesfile = ~/.gitignore_global
[push]
default = upstream
autoSetupRemote = true
[rebase]
autostash = true
[diff]
compactionHeuristic = true
[commit]
gpgsign = true
[bash]
showInformativeStatus = true
showDirtyState = true
[pull]
ff = only
[init]
defaultBranch = main
[include]
path = ~/.gitconfig_local