Skip to content

Instantly share code, notes, and snippets.

@davidcorbin
Created April 7, 2015 16:49
Show Gist options
  • Save davidcorbin/bf4f4ded26aef02f8e19 to your computer and use it in GitHub Desktop.
Save davidcorbin/bf4f4ded26aef02f8e19 to your computer and use it in GitHub Desktop.
Redirect .git directory at the root of a project
RedirectMatch 404 /\.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment