Taggit

GitHub Projects as Subversion Externals

It’s probably a no-brainer, but this totally blew my brains out. Apparently you can use Subversion with GitHub repositories! So if you’re a fan of Subversion externals, and like to include themes and plugins using svn:externals like this: akismet jetpack You’re gonna love the fact, that if the theme or plugin is not hosted in a Subversion repository, but on GitHub only (such as...

Git Archive for WordPress Themes

Quick tip! If you’re using Git when developing WordPress themes and would like to create a clean “export” of the theme that would be installable from the WordPress admin interface and accepted to the WordPress.org themes directory, you can use the git archive command for that with some special arguments: git archive --format zip --output /path/to/themename-1.1.zip ...

Delete Cached Copy in Capistrano

Quick tip! If you’ve changed the Git repository for your project and deploying via Capistrano while using cached copies you might get a “doesn’t exist” error because your cached copy is still pointed at the old Git repository. You can fix this by manually logging into your application server, browsing to the shared directory and deleting the cached-copy directory...

Transfer Your Existing Git Repository to Github

I published a post before on How To Create a Remote Shared Git Repository and have recently seen people asking on how to then transfer those kind of repositories to Github. Seriously, this is a one-liner! Of course we all love Github, with the Issues feature, a Wiki section and a full-blown visual interface to your Git repositories, so sooner or later you might want to switch from your self...

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...

How To Create a Remote Shared Git Repository

So Github doesn’t work for you? This article is about setting up a private, remote and shared Git repository for you and your team. I’m using Ubuntu 10.10 and 10.04, as well as Fedora Linux (assuming you replace apt-get with yum), anyhow this should work on all other distros with minor modifications. I’m not going to tell you what Git is, and I’m not going to teach you how...