RedirectMatch 404 /\.git
You need to add the above line into your .htaccess
or your server config file.
It hides any file or directory whose name begins with .git
(e.g. a .git
directory or .gitignore
file) by returning a 404. So not only are the contents of your Git repo hidden, its very existence is hidden too.Revisions
- October 27, 2015 @ 16:10:18 [Current Revision] by admin
- October 27, 2015 @ 16:10:18 by admin
Revision Differences
There are no differences between the October 27, 2015 @ 16:10:18 revision and the current revision. (Maybe only post meta information was changed.)
No comments yet.