-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgitconfig
More file actions
35 lines (30 loc) · 1011 Bytes
/
gitconfig
File metadata and controls
35 lines (30 loc) · 1011 Bytes
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
[user]
name = Jonathan Reyes
email = j@jreyes.org
[core]
autocrlf = false
safecrlf = true
editor = vim
excludesfile = ~/.cvsignore
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --graph --pretty=tformat:\"%C(yellow)%h%Creset %Cgreen%ar%Creset %C(bold blue)%an%Creset%C(red)%d%Creset %s\"
sminit = submodule update --init --recursive
smupdate = submodule update --recursive --remote
churn = "!f() { git log --all -M -C --name-only --format='format:' \"$@\" | sort | grep -v '^$' | uniq -c | sort | awk 'BEGIN {print \"count\tfile\"} {print $1 \"\t\" $2}' | sort -g; }; f"
searchlogs = "!g() { for d in */; do if [ -d \"$d.git\" ]; then log=$(git --git-dir=$d.git --work-tree=$d --no-pager log --grep=\"$@\"); if [ -n \"$log\" ]; then echo \"\\n======> $d\\n\\n$log\"; fi; fi; done; }; g"
[color]
diff = true
ui = true
[github]
user = jreyes33
[init]
defaultBranch = main
[push]
default = upstream
autoSetupRemote = true
[pull]
rebase = true