-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
47 lines (45 loc) · 1.2 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
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
l = log --graph --decorate --pretty=oneline --abbrev-commit
ll = log --pretty=format:'%h : %s' --graph --decorate
la = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
rb = rebase
com = checkout master
rem = rebase master
now = diff HEAD
stache = stash
ss = stash
cl = "!f() { git clone [email protected]:wdca/$1.git $2; }; f"
sa = "!f() { git submodule add [email protected]:wdca/$1.git $2; }; f"
ra = "!f() { git remote add $1 [email protected]:wdca/$2.git $3; }; f"
pom = push origin master
chp = cherry-pick
dr = "!f() { git branch -D $1; git push origin :$1; }; f"
[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
[color "status"]
added = yellow
changed = green
untracked = cyan
[apply]
ignorewhitespace = change
whitespace = nowarn
[core]
ignorecase = false
excludesfile = /Users/wcurtis/.gitignore_global