- # exe in ~/
- # $1: branch name to checkout after clone
- git clone git@121.40.183.99:zd_code2.git zd_code
- git checkout $1
- cd /root/bin/apache-tomcat-8.5.35/webapps
- ln -s /root/zd_code/p2p-back/zd_back_bin/manager fortunet-manager
- ln -s /root/zd_code/p2p-back/zd_back_bin/api fortunet-api
- ln -s /root/zd_code/p2p-back/zd_back_bin/investpay fortunet-investpay
- ln -s /root/zd_code/p2p-front/zd_front_bin p2p-front
- ln -s /root/zd_code/piaojuke_czbank_mobile/zd_mobile_bin mobile
- ~/s/init.sh
|