Skip to content

Instantly share code, notes, and snippets.

@viko16
Created April 29, 2014 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viko16/11388582 to your computer and use it in GitHub Desktop.
Save viko16/11388582 to your computer and use it in GitHub Desktop.
服务端的 svn hook 配置 #bat
:: 服务端的 svn hook 配置,放置在服务端svn相应项目的 /hook 目录下
"C:\Program Files\VisualSVN Server\bin\svn.exe" update C:\Zend\Apache2\htdocs\ --quiet --non-interactive --username aaa --password bbb
:: 参数说明
:: C:\Program Files\VisualSVN Server\bin\svn.exe 安装的svn位置
:: C:\Zend\Apache2\htdocs\ 需要项目自动部署的位置(需要提前svn checkout)
:: --username aaa 就填有读写权限的svn帐号
:: --password bbb 上面帐号对应的密码..(废话
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment