-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
73 lines (57 loc) · 1.26 KB
/
Copy path.gitconfig
File metadata and controls
73 lines (57 loc) · 1.26 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
64
65
66
67
68
69
70
71
72
73
# bloat/.gitconfig - opinionated defaults.
#
# Sensitive overrides (signing keys, work email) belong in ~/.gitconfig.local
# which is sourced via [include] at the bottom.
[user]
name = protosphinx
email = 133899485+protosphinx@users.noreply.github.com
[init]
defaultBranch = main
[core]
editor = vim
autocrlf = input
excludesfile = ~/.gitignore_global
pager = less -FRX
[color]
ui = auto
[push]
default = current
autoSetupRemote = true
followTags = true
[pull]
rebase = true
[fetch]
prune = true
[merge]
conflictstyle = zdiff3
ff = only
[rebase]
autostash = true
autosquash = true
[diff]
algorithm = histogram
colorMoved = default
[log]
date = iso
[rerere]
enabled = true
[help]
autocorrect = prompt
[advice]
detachedHead = false
[alias]
s = status
co = checkout
cb = checkout -b
ci = commit
cm = commit -m
ca = commit --amend --no-edit
last = log -1 HEAD --stat
unstage = reset HEAD --
undo = reset --soft HEAD~1
lg = log --oneline --decorate --graph -20
lga = log --oneline --decorate --graph --all -40
aliases = !git config -l | grep alias | cut -c 7-
root = rev-parse --show-toplevel
[include]
path = ~/.gitconfig.local