https://blog.csdn.net/kkkkkxiaofei/article/details/76173202
//方案1:
1.- 将本地代码托管到github
2.- 在服务器中将代码clone下来
scp [参数] <源地址(用户名@IP地址或主机名)>:<文件路径> <目的地址(用户名 @IP 地址或主机
github (前提是项目是开源)
//scp用法参考:http://www.runoob.com/linux/linux-comm-scp.html
//方案2:https://blog.csdn.net/chenlinIT/article/details/73343793
//远程连接:ssh+传送文件
//https://help.aliyun.com/document_detail/50775.html
方案4:https://www.jianshu.com/p/0496ef49b2a5
//远程连接:ssh+下载上传
//方案3:https://www.cnblogs.com/chyingp/p/node-deploy-offline.html
//离线部署
网友评论