-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
57 lines (57 loc) · 1.64 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
[color]
ui = true
[user]
name = Sam Kaplan
email = [email protected]
[alias]
st = status -s -b
ci = commit --verbose
ca = commit --verbose --all
amend = commit --verbose --amend
br = branch
co = checkout
serve = !git daemon --detach --reuseaddr --base-path=. --export-all ./.git
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
wdiff = diff --color-words
unstage = reset HEAD
staged = diff --cached
track = add --intent-to-add
untrack = rm --cached
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
ignored = ls-files --others -i --exclude-standard
smup = submodule update --recursive
vimdiff = difftool --tool=vimdiff --no-prompt
cdiff = diff --color-words --word-diff-regex='([[:alnum:]]|_)+|[^[:space:]]'
cshow = show --color-words --word-diff-regex='([[:alnum:]]|_)+|[^[:space:]]'
fixup = !sh -c 'git commit --fixup=$1' -
squash = !sh -c 'git commit --squash=$1' -
ri = rebase --interactive --autosquash
[blame]
date = relative
[color "diff"]
new = cyan bold
old = red bold
meta = green bold
frag = yellow bold
[color "grep"]
filename = magenta
function = yellow
linenumber = green
[core]
excludesfile = ~/.gitignore
tructctime = false
#pager = "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less -r"
[diff]
renames = copies
renamelimit = 100000
submodule = log
[web]
browser = firefox
[log]
date = local
[push]
default = simple
[gitreview]
remote = origin
[merge]
tool = vimdiff