I'm new to Aptana 3, and I want to clone a Git repository into a project sub-folder. The project is a WordPress installation located at /var/www/wordpress, and the repository is a WordPress theme located at /var/www/wordpress/public_html/wp-content/themes/mytheme. My workspace is /var/www. I'm using Linux.
If I select File > Import > Git > Git Repository as New Project, the resulting project includes the entire WordPress installation starting at /var/www/wordpress, even if I select the theme sub-folder.
I'm OK with this because it makes sense given that my workspace is /var/www, but I can't use Aptana 3 to commit/push/pull, etc. when the repository is imported this way. (None of the Git options show up under Team in the context menu.)
If I import the repository into its own folder, say, /var/www/mytheme, this works, but the obvious problem here is that I can't test the theme while I'm working on it unless I create a symbolic link like so:
ln -s /var/www/mytheme /var/www/wordpress/public_html/wp-content/themes/mytheme
Is there a better way to do this?