Changeset 1399270
- Timestamp:
- 04/19/2016 11:41:23 AM (10 years ago)
- File:
-
- 1 edited
-
copify/trunk/README.md (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
copify/trunk/README.md
r1003788 r1399270 27 27 We want to use git for version control, but WordPress uses SVN. Urgh. 28 28 29 We can get around this by using two local branches, `master` and `svn`. 29 So, initialise the SVN repo locally using `git svn`: 30 30 31 When creating the `svn` branch locally, we set a different remote; 32 33 `git checkout -b svn remotes/git-svn` 31 `git svn init --stdlayout https://plugins.svn.wordpress.org/copify` 34 32 35 33 Development can be carried out on any branch other than `svn` then when we want to publish our changes to WordPress, we merge using the `--squash` option; … … 43 41 ```bash 44 42 1 Squashed commit of the following: 45 2 43 2 46 44 3 commit bc314d4aec1ce5a69eaea06e601943f0cfe06eaf 47 45 4 Merge: b09a9b4 17a8ef7 … … 64 62 ... 65 63 ``` 66 67 68 69
Note: See TracChangeset
for help on using the changeset viewer.