-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_gitconfig
More file actions
72 lines (69 loc) · 2.17 KB
/
Copy pathdot_gitconfig
File metadata and controls
72 lines (69 loc) · 2.17 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
[gist]
browse = true
private = true
[color]
branch = auto
diff = auto
status = auto
[alias]
bl = blame -C
co = checkout
cob = checkout -b
df = diff --word-diff
l1 = log --oneline --decorate
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
st = status
stat = status
search = "log --all --pretty=oneline -S"
lol = "log --no-merges --graph --decorate --pretty=oneline --abbrev-commit"
up = !git fetch origin && rebase origin/master
ir = @git rebase -i origin/master
context = log -U0 -S
amend = commit --amend --no-edit
br = branch
ci = commit
[core]
excludesfile = ~/.gitignore
quotepath = false
editor = vim
# Comma separated list of common whitespace problems to notice
whitespace = space-before-tab,tabwidth=2,trailing-space
[diff]
# Whether to detect renames. If set to "copies" or "copy", it will detect copies as well.
renames = copy
[branch]
autosetuprebase = always
autosetupmerge = true
[help]
autocorrect = 0
[push]
default = simple
autoSetupRemote = true
[rerere]
# Activate recording of resolved conflicts, so that identical conflict hunks can be resolved automatically
enabled = 1
[rebase]
# Whether to show a diffstat of what changed upstream since the last rebase
stat = true
[user]
name = David Taylor
# Set for each project to deal with multiple github accounts
email = david@cloudartisan.com
[credential]
helper = osxkeychain
[gpg]
program = gpg
[pull]
rebase = true
[init]
# Seed every newly cloned or created repository with the pre-commit hook, so
# secret scanning is not something to remember per checkout. The generated
# hook passes --skip-on-missing-config, so it does nothing in repositories
# without a .pre-commit-config.yaml. Populated by
# .chezmoiscripts/run_once_setup-pre-commit.sh.tmpl; applies to clone/init
# only, so existing checkouts still need `pre-commit install` once.
templateDir = ~/.git-template
# Optional machine-local include (kept last so it can override the above).
# Absent on personal machines; git silently ignores a missing include.
[include]
path = ~/.config/git/local.gitconfig