-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
72 lines (66 loc) · 1.56 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[user]
name = Christopher Aziz
email = [email protected]
[core]
excludesfile = /Users/christopheraziz/.gitignore_global
editor = vim
[color]
ui = 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 = normal red
[color "status"]
added = green
changed = yellow
untracked = red
[pretty]
custom = %C(bold yellow)%d\
%C(reset)%C(cyan)%h %C(dim white)-\
%C(reset)%s %C(dim blue)(%cr)\
%C(dim white)<%an>%C(reset)
[alias]
url = !open $(git config remote.origin.url)
alias = !git config -l | grep alias | sed 's/^......//' | less
ec = config --global -e
co = checkout
cob = checkout -b
cp = cherry-pick
br = branch
bra = branch -a
st = status -sb
lg = log --oneline
gr = log --graph --pretty=custom --abbrev-commit --date=short
graph = !git gr --all
c = commit
acm = !git add . && git commit -m
cm = commit -m
cam = commit -am
amend = commit --amend
cane = commit --amend --no-edit
update = fetch origin master:master
patch = add -p
unstage = reset -q HEAD --
discard = checkout --
uncommit = reset --mixed HEAD~1
precommit = diff --cached --diff-algorithm=minimal -w
unmerged = !git diff --name-only --diff-filter=U | xargs git status -sb
nuke = !git reset --hard HEAD && git clean -df
dlc = diff --cached HEAD^
dno = diff --name-only
pushup = push -u origin HEAD
[push]
default = tracking
[credential]
helper = osxkeychain
[mergetool "sublime"]
cmd = subl -w $MERGED
trustExitCode = false
[merge]
tool = opendiff