-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_gitconfig
More file actions
56 lines (55 loc) · 1.56 KB
/
dot_gitconfig
File metadata and controls
56 lines (55 loc) · 1.56 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
[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
[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
[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 =
[credential]
helper = osxkeychain
[gpg]
program = gpg2
# Include Salesforce-specific config for repos under ~/git/salesforce/
[includeIf "gitdir:~/git/salesforce/"]
path = ~/.gitconfig-salesforce