是否可以使用git push?部署网站?我有一个预感,它与使用git hooksgit reset --hard在服务器端执行有关,但我将如何实现这一目标呢?
git push
git reset --hard
git deployment webserver githooks
如何从本地Python(3.0)脚本简单地SSH到远程服务器,提供登录/密码,执行命令并将输出打印到Python控制台?
我宁愿不使用任何大型外部库或在远程服务器上安装任何东西.
python unix linux ssh
deployment ×1
git ×1
githooks ×1
linux ×1
python ×1
ssh ×1
unix ×1
webserver ×1