-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
62 lines (56 loc) · 1.86 KB
/
Copy pathgitconfig
File metadata and controls
62 lines (56 loc) · 1.86 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
[user]
name = Erik Sutherland
email = erik.misu@gmail.com
[core]
editor = vim
[credential]
username = MrRacoon
helper = cache --timeout=7200
[color]
ui = auto
diff = auto
status = auto
branch = auto
[alias]
a = add
ac = !git add . && git commit -am
ap = add --patch
b = branch
ba = branch --all
c = commit --verbose
ca = commit -a --verbose
cam = commit -a -m
cb = checkout -b
cm = commit -m
co = checkout
d = diff -w --word-diff
ds = diff --stat
dc = diff --cached
f = fetch
fa = fetch --all
fp = fetch --prune
graph = log --graph --all --decorate --stat --date=iso
h = log --all --decorate --oneline --graph
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
lst = log -1 HEAD
lg = git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
nuke = reset --hard
overview = log --all --oneline --no-merges
p = push
praise = blame
rao = remote add origin
recap = log --all --oneline --no-merges --author=erik.sutherland@nike.com
recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"
show = show --color --pretty=format:%b $COMMIT
s = status -s
sst = submodule status
st = status
stats = shortlog -sn
sub = submodule
sui = submodule update --init --recursive
sup = submodule update
unstage = reset HEAD --
[commit]
template = ~/dotfiles/git-commit-template
[push]
default = matching