-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
82 lines (72 loc) · 1.92 KB
/
gitconfig
File metadata and controls
82 lines (72 loc) · 1.92 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
73
74
75
76
77
78
79
80
81
82
[core]
editor = vim
#autocrlf = true
excludesfile = /home/mphillips/.gitignore_global
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
[user]
name = Matt Phillips
#email = mattp@cpan.org
email = mphillips@oanda.com
[branch]
autosetuprebase = always
[color]
ui = auto
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[remote "origin"]
fetch=+refs/pull/*/head:refs/remotes/pull-request/*
[branch "develop"]
remote = origin
merge = develop
[diff]
tool = vimdiff -c 'TlistClose'
#tool = vimdiff
prompt = false
[alias]
slog = log --pretty=format:\"%h %s\" --graph
flog = log --stat --abbrev-commit --relative-date --pretty=oneline
plog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
sdiff = diff --pretty=format:\"%h %s\" --graph
fdiff = diff --stat --abbrev-commit --relative-date --pretty=oneline
pdiff = diff --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ls = ls-files
find = !git ls-files |ag
vim = !sh -c 'vim `git ls-files | ack -i $0 | head -1`'
heads = !"git log origin/master.. --format='%Cred%h%Creset;%C(yellow)%an%Creset;%H;%Cblue%f%Creset' | git name-rev --stdin --branch --always --name-only | column -t -s';'"
feature = flow feature
release = flow release
hotfix = flow hotfix
st = status
ci = commit --verbose
a = add
cia = commit --amend
co = checkout
br = branch
sb = show-branch
cp = cherry-pick
staged = diff --cached
rb = rebase
rbc = rebase --continue
rbs = rebase --skip
rl = reflog
rs = remote show
rt = remote
ru = remote update
rp = remote prune
sm = submodule
pu = pull --ff-only --rebase