Plugin Directory

Changeset 1003754


Ignore:
Timestamp:
10/08/2014 11:57:34 AM (11 years ago)
Author:
robmcvey
Message:

README

File:
1 edited

Legend:

Unmodified
Added
Removed
  • copify/trunk/README.md

    r941437 r1003754  
    2222
    2323The plugin is best used alongside one of Copify's [monthly blog packages](http://copify.com/blog-packages). Enable the <b>auto-publish</b> setting to allow posts to go live immediately and we'll even add a Featured Image to the post!
     24
     25### Workflow
     26
     27Obviouslly we want to use git for version control, but WordPress uses SVN. Urgh.
     28
     29We can get around this by using two local branches, `master` and `svn`.
     30
     31When creating the `svn` branch locally, we set a different remote;
     32
     33`git checkout -b svn remotes/git-svn`
     34
     35Development can be carried out on any branch other than `svn` then when we want to publish out changes to WordPress, we merge using the `--squash` option;
     36
     37`git checkout svn && git merge --squash myWorkingBranch && git svn dcommit`
     38
     39This creates a single svn commit, which makes SVN play nice, and pushes the changes to the SVN server.
Note: See TracChangeset for help on using the changeset viewer.