标签:min mave -- blog dev maven var nbsp git
1,使用Rsync实现远程部署
#!/bin/bash cd /var/maven/pdh5/dev/pdh5 git checkout dev git pull origin dev rsync --exclude=*\.log --exclude=\.git* --exclude="log/" -avz /var/maven/pdh5/dev/pdh5/* admin@121.43.229.153:/var/www/html/h5/pdh5
标签:min mave -- blog dev maven var nbsp git
原文地址:http://www.cnblogs.com/wanhua-wu/p/6513912.html