-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
55 lines (51 loc) · 1.65 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
53
54
[user]
useConfigOnly = true
name = Jack McKernan
email = [email protected]
signingkey = FA8C01167D9A8CE6
[core]
autocrlf = input
editor = "vim"
excludesfile = ~/.gitignore_global
#hooksPath = ~/.git-templates/hooks
ignorecase = false
[credential]
username = jmcker
helper = cache
[commit]
gpgsign = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[init]
defaultBranch = main
#templateDir = ~/.git-templates
[svn]
rmdir = true
pushmergeinfo = true
# Detect Purdue
[includeIf "gitdir:/homes/"]
path = ~/.gitconfig.purdue
[includeIf "gitdir:~/Documents/Aneesh/"]
path = ~/Documents/Aneesh/.gitconfig
[includeIf "gitdir:~/Documents/Charlene/"]
path = ~/Documents/Charlene/.gitconfig
[includeIf "gitdir:~/Documents/Davis/"]
path = ~/Documents/Davis/.gitconfig
[includeIf "gitdir:~/Documents/Emanuel/"]
path = ~/Documents/Emanuel/.gitconfig
[includeIf "gitdir:~/Documents/Jack/"]
path = ~/Documents/Jack/.gitconfig
[includeIf "gitdir:~/Documents/Neel/"]
path = ~/Documents/Neel/.gitconfig
[alias]
chmod = update-index --chmod
addx = update-index --chmod +x
lsi = ls-files --others --i --exclude-standard
lsignore = !git lsi
log-short = log --pretty=format:'%C(yellow)%h%Creset - %Cgreen(%cr) %C(bold blue)<%an>%Creset %s %C(yellow)%d%Creset' --abbrev-commit
csearch = !git log-short --all --grep
search = "!f() { git rev-list --all | xargs git grep \"${@}\"; }; f"
svnco = "!f() { svn init --prefix=svn/ --stdlayout --no-minimize-url --username=${2:-${USER}} ${@}; }; f"