-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
53 lines (43 loc) · 1.38 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
[user]
name = Peter Aronoff
email = telemachus@arpinum.org
[alias]
ll = log --pretty=oneline --abbrev-commit --max-count=15
timelog = log --pretty=format:'%Cred%h%Creset - %C(yellow)%ae%Creset - %Cgreen%cd%Creset - %s%Creset' --abbrev-commit --date=short
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
staged = diff --cached
unstaged = diff
current-branch = !git symbolic-ref -q HEAD | sed -e 's|^refs/heads/||'
track = checkout -t
retrack = "!retrack() { git config \"branch.$1.remote\" $(dirname \"$2\"); git config \"branch.$1.merge\" \"refs/heads/$(basename \"$2\")\"; }; retrack"
ll = log --pretty=oneline --abbrev-commit --max-count=15
timelog = log --pretty=format:'%Cred%h%Creset - %C(yellow)%ae%Creset - %Cgreen%cd%Creset - %s%Creset' --abbrev-commit --date=short
[branch]
autosetupmerge = true
[github]
user = telemachus
token = <oops>
[core]
excludesfile = /Users/telemachus/.gitignore_global
filemode = true
logallrefupdates = true
whitespace = space-before-tab, trailing-space
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "branch"]
current = yellow reverse
local = yellow bold
remote = green bold
plain = red bold
[color "status"]
added = yellow
changed = green bold
untracked = blue bold
[init]
templatedir = ~/.git_template
# vim: noexpandtab