-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
52 lines (52 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
[alias]
co = checkout
cm = commit
br = branch
add-commit = !git add -A && git commit
set-upstream = \
!git branch \
--set-upstream-to=origin/`git symbolic-ref --short HEAD`
[user]
email = [email protected]
name = De Wet Blomerus
signingkey = 3BB63410B0886CE5
[push]
default = current
[core]
editor = vim
excludesfile = ~/dotfiles/gitignore_global
ignorecase = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[merge "railsschema"]
name = newer Rails schema version
driver = "ruby -e '\n\
system %(git), %(merge-file), %(--marker-size=%L), %(%A), %(%O), %(%B)\n\
b = File.read(%(%A))\n\
b.sub!(/^<+ .*\\nActiveRecord::Schema\\.define.:version => (\\d+). do\\n=+\\nActiveRecord::Schema\\.define.:version => (\\d+). do\\n>+ .*/) do\n\
%(ActiveRecord::Schema.define(:version => #{[$1, $2].max}) do)\n\
end\n\
File.open(%(%A), %(w)) {|f| f.write(b)}\n\
exit 1 if b.include?(%(<)*%L)'"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[rebase]
autosquash = true
[pager]
branch = false
[pull]
rebase = false
[init]
defaultBranch = main
[commit]
gpgsign = true
[tag]
gpgSign = true
[gpg]
program = gpg