美文网首页
WordPress插件开发笔记(九):使用SVN

WordPress插件开发笔记(九):使用SVN

作者: 破旧的大卡车 | 来源:发表于2018-11-29 20:15 被阅读9次

假设你想继续开发你发布的插件, 此时就需要用到svn来管理版本了。 不好意思, wordpress官方不支持git。

  1. 新建一个目录, 并checkout远程代码:
mkdir -p ~/development/latex2html
cd ~/development/latex2html
svn co https://plugins.svn.wordpress.org/latex2html .
  1. Tag目前版本(in trunk):
svn cp trunk tags/2.3.4
  1. 进入trunk目录进行修改:
cd trunk
#do the edit of your plugins
  1. 添加trunk并提交修改
cd ..
svn add trunk/* --force
svn ci -m 'Add new function' --username your-wordpress-username --password your-wordpress-password

相关文章

网友评论

      本文标题:WordPress插件开发笔记(九):使用SVN

      本文链接:https://www.haomeiwen.com/subject/bkfzqqtx.html