forked from asynchrony/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.symlink
49 lines (43 loc) · 1.42 KB
/
gitconfig.symlink
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
[user]
name = David McCown
email = dmccown@gmail.com
[color]
ui = auto
interactive = auto
status = auto
commit = auto
diff = auto
branch = auto
[apply]
whitespace = strip
whitespace = nowarn
[alias]
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
br = branch
ci = commit -v
co = checkout
cp = cherry-pick
di = diff
diff-stat = diff -b --stat
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
history = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ignore = !([ ! -e .gitignore ] && touch .gitignore) | echo $1 >>.gitignore
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
log-graph = log --all --graph --decorate
log-refs = log --all --graph --decorate --oneline --simplify-by-decoration --no-merges
log-timeline = log --format='%h %an %ar - %s'
log-local = log --oneline origin..HEAD
log-fetched = log --oneline HEAD..origin/master
merged = branch --merged
oneline = log --oneline
patch = log -p --no-walk # Generate patch file from a commit.
st = status
stat = status
gp = git push origin HEAD
[http]
sslVerify = 0
[include]
path = .my_gitconfig
[core]
editor = /usr/bin/vim