-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
231 lines (205 loc) · 5.58 KB
/
.gitignore
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
Skip to content
Search…
All gists
Back to GitHub
@Gipscomm
@salcode salcode/.gitignore
Last active last month • Report abuse
55
20
Code Revisions 13 Stars 55 Forks 20
<script src="https://gist.github.com/salcode/10017553.js"></script>
.gitignore file for a general web project - Bare Minimum Git
.gitignore
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20181206
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore
# to download this file
#
# This file is tailored for a general web project, it
# is NOT optimized for a WordPress project. See
# https://gist.github.com/salcode/b515f520d3f8207ecd04
# for a WordPress specific .gitignore
#
# This file specifies intentionally untracked files to ignore
# http://git-scm.com/docs/gitignore
#
# NOTES:
# The purpose of gitignore files is to ensure that certain files not
# tracked by Git remain untracked.
#
# To ignore uncommitted changes in a file that is already tracked,
# use `git update-index --assume-unchanged`.
#
# To stop tracking a file that is currently tracked,
# use `git rm --cached`
#
# Change Log:
# 20190705 ignore private/secret files
# 20181206 remove trailing whitespaces
# 20180714 unignore .phpcs.xml.dist
# 20170502 unignore composer.lock
# 20170502 ignore components loaded via Bower
# 20150326 ignore jekyll build directory `/_site`
# 20150324 Reorganized file to list ignores first and whitelisted last,
# change WordPress .gitignore link to preferred gist,
# add curl line for quick installation
# ignore composer files (vendor directory and lock file)
# 20140606 Add .editorconfig as a tracked file
# 20140418 remove explicit inclusion
# of readme.md (this is not an ignored file by default)
# 20140407 Initially Published
#
# -----------------------------------------------------------------
# ignore all files starting with . or ~
.*
~*
# ignore dist/ folder
dist/
# ignore cached PHP folder
#
cached-*
# ignore not changing Syncfusion folder
# Syncfusion/
# ignore node/grunt dependency directories
node_modules/
# ignore composer vendor directory
/vendor
# ignore components loaded via Bower
/bower_components
# ignore jekyll build directory
/_site
# ignore OS generated files
ehthumbs.db
Thumbs.db
# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
# ignore log files and databases
*.log
*.sql
*.sqlite
# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# ignore private/secret files
*.der
*.key
*.pem
# -------------------------
# BEGIN Whitelisted Files
# -------------------------
# track these files, if they exist
!.gitignore
!.editorconfig
!.phpcs.xml.dist
@fredgrott
fredgrott commented on 1 Dec 2017
Thanks for posting this as I was looking for exactly this gitignore file....switched from native java android coding to web and design and did not have an adequate gitignore setup for web projects
@juanma386
juanma386 commented on 6 Jul 2018
WooOoow, very good, thanks.
@itamarsky
itamarsky commented on 8 Oct 2018
Thx!
@JohannesBe
JohannesBe commented on 5 Jul 2019
Please add a section for secrets (e.g. .pem, .key files etc)
@salcode
Owner
Author
salcode commented on 5 Jul 2019
@JohannesBe thanks for the feedback, this is a good idea
Off the top of my head it seems we should add the following
*.key
*.pem
*.der
@Gipscomm
Leave a comment
Attach files by dragging & dropping, selecting or pasting them.
© 2020 GitHub, Inc.
Terms
Privacy
Security
Status
Help
Contact GitHub
Pricing
API
Training
Blog
About
*.json
*.json
*.json
*.json
phpInfo.php
php/prepareKennzahlendaten.php
php/cache/cached-betrGrpEinlesen.html
php/cache/cached-energietraegerVersorgerEinlesen.html
php/cache/cached-getBereiche.html
php/cache/cached-getHistorie.html
php/cache/cached-getLoginState.html
php/cache/cached-getMessstellen.html
php/cache/cached-getZaehlpunktNr.html
php/cache/cached-liegenschaftenEinlesen.html
php/cache/cached-mandantenEinlesen.html
php/cache/cached-readAnlagen.html
php/cache/cached-readMessmittel.html
php/cache/cached-readRechnungen.html
php/cache/cached-betrGrpEinlesen.html
php/cache/cached-energietraegerVersorgerEinlesen.html
php/cache/cached-getBereiche.html
php/cache/cached-getHistorie.html
php/cache/cached-getLoginState.html
php/cache/cached-getMessstellen.html
php/cache/cached-getZaehlpunktNr.html
php/cache/cached-liegenschaftenEinlesen.html
php/cache/cached-mandantenEinlesen.html
php/cache/cached-readAnlagen.html
php/cache/cached-readMessmittel.html
php/cache/cached-readRechnungen.html
php/cache/cached-betrGrpEinlesen.html
php/cache/cached-energietraegerVersorgerEinlesen.html
php/cache/cached-getBereiche.html
php/cache/cached-getHistorie.html
php/cache/cached-getLoginState.html
php/cache/cached-getMessstellen.html
php/cache/cached-getZaehlpunktNr.html
php/cache/cached-liegenschaftenEinlesen.html
php/cache/cached-mandantenEinlesen.html
php/cache/cached-readAnlagen.html
php/cache/cached-readMessmittel.html
php/cache/cached-readRechnungen.html
php/cache/cached-energietraegerVersorgerEinlesen.html
php/cache/cached-betrGrpEinlesen.html
php/cache/cached-energietraegerVersorgerEinlesen.html
php/cache/cached-getBereiche.html
php/cache/cached-getHistorie.html
php/cache/cached-getLoginState.html
php/cache/cached-getMessstellen.html
php/cache/cached-getZaehlpunktNr.html
php/cache/cached-liegenschaftenEinlesen.html
php/cache/cached-mandantenEinlesen.html
php/cache/cached-readAnlagen.html
php/cache/cached-readMessmittel.html
php/cache/cached-readRechnungen.html