-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitconfig
61 lines (54 loc) · 1.37 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[include]
path = .gitconfig-user
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
editor = vim
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit
lola = log --graph --decorate --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --all
ls = ls-files
; Show files ignored by git:
ign = ls-files -o -i --exclude-standard
last = log -1
[repo]
dir = /repos
[merge]
# Include the summary of merged commits into all newly created merge
# commits. The newly created merge commit will contain a one-line summary
# of every (well, most) merged commits.
log = true
# Show merge statistics after merge.
stat = true
[branch]
# When creating a new branch off a remote branch, always set it up to
# track the remote branch so that we can pull from there.
autoseupmerge = always
[web]
browser = links