Tagtech

Restore A Subversion Repository From Backup Files

This is a quickie and yeh, I don’t like Subversion either, and if you’re still using that consider Git or Mercurial. Anyways, I had an old Subversion server where four SVN repositories were hosted for quite some time and a few days ago I decided to nuke that in order to reduce our costs. Thank god I created a simple tar -czf of the whole directory and I know it’s not the correct...

Disable HTTP Access to .git Without .htaccess

Long story short. If you’re working with Git repositories you’ll notice they have a .git directory and sometimes a .gitignore. Git makes it quite convenient to deploy applications to production servers directly using git clone instead of git archive, but that might leave a possible security issue on your production server — the .git directory might be accessible. There are...