Repository navigation
Expand file tree
/
Copy pathgitconfig
More file actions
68 lines (68 loc) · 1.78 KB
/
Copy pathgitconfig
File metadata and controls
68 lines (68 loc) · 1.78 KB
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
[core]
excludesfile = ~/.gitignore_global
pager = less -FXRS -x2
commitGraph = true
whitespace = space-before-tab indent-with-non-tab tab-in-indent trailing-space
untrackedCache=true
fsmonitor=false
[alias]
st = status
di = diff
co = checkout
ci = commit --no-verify
nvc = ci
cnv = ci
committ = ci
commitnv = ci
kommit = ci
br = branch
lg = log --graph
lup = log @{u}... --left-right --graph
lum = log origin/main... --left-right --graph
mup = merge @{u}
rum = rebase origin/main
age = !"for branch in `git branch -r | awk '{print $1}'`; do echo `git log -1 $branch --pretty=format:"%ct:%%$branch%%%cr%%%cn%n"`;done | column -t -s'%' | sort -nr | cut -d ':' -f 2"
rollback = !"git diff origin/main.. --name-only -- db/migrate | sed 's/db\\/migrate\\///g' | sort -r | xargs -I% rake db:migrate:down VERSION=%"
w = whatchanged
lall = log --branches --tags --remotes --graph
srp = !"git stash save -u 'wip' && rake && git push && git stash pop"
[apply]
whitespace = nowarn
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[color "status"]
added = yellow
changed = green
untracked = cyan
[branch]
autosetupmerge = true
[push]
default = simple
[rebase]
autosquash = true
[format]
pretty = format:"%C(yellow)%<(12)%cd%Creset %<(50)%s | %C(auto)%h%Creset%C(auto)%d%Creset | %Cgreen%an%Creset"
[log]
date = format:%Y-%m-%d %H:%M
[merge]
ff = only
[remote "origin"]
prune = true
[include]
path = ~/.git-together
[include]
# Machine-local settings (commit signing, author template). Not committed —
# signing key path is per-machine; set up by hand on each machine.
path = ~/.gitconfig.local
[pull]
ff = only
[checkout]
defaultRemote = origin
[user]
name = Adam Milligan
[credential]
helper = osxkeychain