-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
57 lines (56 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
[core]
excludesfile = /Users/adam/.gitignore_global
quotepath = false
[user]
email = [email protected]
name = Adam Lett
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[mergetool]
prompt = false
[merge]
tool = Kaleidoscope
ff = only
[color]
ui = auto
[alias]
c = commit -m
a = add
aa= add --all
st = status
ci = commit
d = diff
dc = diff --cached
cob = checkout -b
up = !git fetch origin && git rebase origin/master
ir = !git rebase -i origin/master
done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && rake && git push
su = !git stash --keep-index --include-untracked
# Fancy logging.
# h = head
# hp = head with patch
# r = recent commits, only current branch
# ra = recent commits, all reachable refs
# l = all commits, only current branch
# la = all commits, all reachable refs
head = !git l -1
h = !git head
hp = "!. ~/.githelpers && show_git_head"
r = !git l -30
ra = !git r --all
l = "!. ~/.githelpers && pretty_git_log"
la = !git l --all
svn-up = !git svn fetch && git svn rebase
[push]
default = simple
# If we're in a work related git repo, include extended config
# (for setting the email address to my work email)
[includeIf "gitdir:$WORK_DIR/"]
path = $WORK_DIR/.gitconfig