Skip to content

Commit 4ad77f9

Browse files
KevinkevinSuttle
Kevin
authored andcommitted
Single source .gitconfig and .gitignore
1 parent 10723f5 commit 4ad77f9

File tree

4 files changed

+28
-66
lines changed

4 files changed

+28
-66
lines changed

.gitconfig

+23-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
# This is Git's per-user configuration file.
2-
[user]
3-
# Please adapt and uncomment the following lines:
4-
name = Kevin Suttle
5-
email = kevin@suttle.email
1+
[color]
2+
branch = true
3+
diff = true
4+
grep = true
5+
interactive = true
6+
log = true
7+
status = true
8+
ui = true
9+
[core]
10+
autocrlf = input
11+
excludesfile = ~/.gitignore
12+
whitespace = space-before-tab,indent-with-non-tab,trailing-space,cr-at-eol
13+
[diff]
14+
keepBackup = false
15+
[help]
16+
autocorrect = 1
17+
[merge]
18+
keepBackup = false
19+
[push]
20+
default = simple
21+
[filter "media"]
22+
clean = git-media-clean %f
23+
smudge = git-media-smudge %f

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ fish/fishd.*
4141
.nvm
4242
.viminfo
4343

44+
# User directories in MacOS
4445
Applications
4546
Code
4647
Desktop
@@ -50,4 +51,7 @@ Library
5051
Movies
5152
Music
5253
Pictures
53-
Public
54+
Public
55+
56+
# Private keys
57+
.local

gitconfig

-25
This file was deleted.

gitignore

-35
This file was deleted.

0 commit comments

Comments
 (0)