forked from holman/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
48 lines (48 loc) · 1.06 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
[user]
name = Eloy Espinaco
email = [email protected]
[alias]
s = status
co = checkout
clean-branches = !git branch --merged | grep -v '*' | grep -v master | xargs git branch -d
glog = log --graph --oneline --decorate
tlog = log --all --date='format:%F %H:%M %a' --format='%ad %Cblue%h %Creset%s'
stash-working = "!f() { \
git commit --quiet --no-verify -m \"temp for stash-working\" && \
git stash push \"$@\" && \
git reset --quiet --soft HEAD~1; }; f""}"
alias = config --get-regexp "alias.*"
churn = "!git log -M -C --name-only --format='format: \"$@\" | \
sed 's/^$/COMMITS/' | sort | uniq -c | sort"
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.cvsignore
[commit]
verbose = 1
[pull]
rebase = true
[init]
defaultBranch = main
[mergetool]
keepBackup = false
[log]
decorate = auto
follow = true
mailmap = true
[diff]
mnemonicprefix = true
colormoved = zebra
[diff "json"]
; textconv = "jq ."
[rebase]
autostash = true
autosquash = true
[rerere]
enabled = true
[fetch]
prune = true
[push]
autoSetupRemote = true