简体   繁体   中英

Suggested Git workflow for a WordPress Live / Dev website

I just wanted to here some examples about how you guys go about VC'ing WordPress websites, or any website for that matter.

Currently my workflow is:

example.com - html/live - branch/master

dev.example.com - html/dev - branch/dev

Make changes / editions to branch/dev and, merge them with branch/master once complete and ready to go. Then pull them on the server side via command line.

Seems like this isn't a question... more like a suggestion.

This is also quite a common workflow, making changes to a dev branch then merging them with master to push to a live server.

You can follow this suggestion

在此处输入图片说明

(Source: http://nvie.com/posts/a-successful-git-branching-model/ )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM