-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
47 lines (47 loc) · 1.08 KB
/
gitconfig
File metadata and controls
47 lines (47 loc) · 1.08 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
[user]
name = Stephen Hamer
email = stephen.hamer@gmail.com
[alias]
st = status
ss = status -s
co = checkout
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset - %Cred%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
mask = update-index --assume-unchanged
unmask = update-index --no-assume-unchanged
masked = "!git ls-files -v | grep ^h | cut -c 3-"
[core]
whitespace = trailing-space,space-before-tab
excludesfile = /home/shamer/.gitignore
# search for core.pager in
# <http://www.kernel.org/pub/software/scm/git/docs/git-config.html>
# to see why we use this convoluted syntax
pager = less -$LESS -SFRX -SR
#+'/^---'
editor = vim
[branch]
autosetupmerge = true
[diff]
mnemonicprefix = true
[merge]
stat = true
[push]
default = tracking
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow reverse
frag = magenta bold
old = red bold
new = green bold
whitespace = blue reverse
[color "status"]
added = yellow
changed = green
untracked = cyan