git自動拉取代碼

第一種方法 如今有2臺服務器php A服務器:git倉庫git B服務器:開發環境web 需求:當提交代碼到git倉庫的時候   開發環境能夠自動pull代碼。bash 如今須要在A服務器git倉庫裏寫一個鉤子 post-receive服務器 #!/usr/bin/expect spawn ssh root@123.123.123.113 expect "*password:" send "abc
相關文章
相關標籤/搜索