-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
45 lines (45 loc) · 1.05 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
[user]
email = [email protected]
name = Cormier, Jonathan
[core]
excludesfile = /home/jcormier/.configs/C.gitignore
PreloadIndex = true
# Shorten sha to 12 characters
abbrev = 12
autocrlf = input
[push]
default = tracking
[cola]
tabwidth = 4
[giggle]
main-window-maximized = false
main-window-geometry = 1035x600+1+78
[alias]
unstage = reset HEAD --
co = checkout
ci = commit
s = status
b = branch
#Usage: git signoff-rebase [base-commit]
signoff-rebase = !GIT_SEQUENCE_EDITOR='sed -i -re s/^pick/e/' sh -c 'git rebase -i $1 && while git rebase --continue; do git commit --amend --signoff --no-edit; done' -
[branch]
autosetupmerge = true
[merge]
renamelimit = 5000
[color]
ui = auto
[pretty]
# Create fixes tag
fixes = Fixes: %h (\"%s\")
[sendemail]
smtpEncryption = tls
smtpServer = smtp.gmail.com
smtpUser = [email protected]
smtpServerPort = 587
confirm = always
[tig "bind"]
# Disable git-gc keybinding
generic = G none
# Cherry-pick with signoff and commit number
main = C none
generic = C !git cherry-pick -xs %(commit)