-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
25 lines (21 loc) · 943 Bytes
/
Copy pathgitconfig
File metadata and controls
25 lines (21 loc) · 943 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
[user]
name = Kirill Yakimovich
email = kirill.yakimovich@gmail.com
[core]
attributesfile = ~/.gitattributes
editor = vim
excludesfile = ~/.gitignore
whitespace = trailing-space,space-before-tab
[init]
templatedir = ~/.git_template
[alias]
bcommit = "!_() { br=$(git symbolic-ref --short HEAD); echo [$br] $1; }; _"
bbc = "!_() { var=$(git bcommit $1); echo $var; }; _"
bcc = "!f() { var=$(git bcommit $1); msg='git commit -am \"'; msg+=$var; v=$msg'\"'; echo $v;$v; }; f "
[diff "plist"]
textconv = plutil -convert xml1 -o -
# https://juripakaste.fi/swift-git-attributes
[diff "swift"]
xfuncname = ^[ \t]*(((private |public |internal |final |open )*class|(private |public |internal )*struct|(private |public |internal )*actor|(private |public |internal )*func|(private |public |internal )*extension|(private |public |internal )*enum)[ \t].*)$
[includeIf "hasconfig:remote.*.url:*lyft*/**"]
path = ~/.work.gitconfig