Creating a WP plugin and using Github for version control

This article is about publishing a plugin to the WordPress Repository. I use TortoiseGIT on a daily basis and also Github for opensource projects. Also, TortoiseSVN will be needed.

Steps:

  1. Create an account at wordpress.org ( http://wordpress.org/support/register.php )
  2. Ask for hosting ( http://wordpress.org/extend/plugins/add/ )
  3. Clone your WordPress repository using TortoiseSVN
  4. Change your working path to ./your-repository-name/
  5. Delete the ./trunk folder
  6. Clone your Github repository inside ./your-repository-name
  7. Rename the new repository file to ./trunk
  8. Start commiting changes to the two repositories. Be sure to ignore the ./.git folder when commiting to SVN

Read:

Sources: