![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
文章平均质量分 71
难逃月色*
蜗牛码农一枚
展开
-
git 常用命令总结
一、常用命令1.代码提交或同步git add filename(.) //提交本地修改到暂存区,‘.’表示提交所有修改git commit -m’提交内容描述’ //将暂存区内容提交至本地仓库git pull <远程主机名> <远程分支名>:<本地分支名> //例子:git pull origin master:test //将远程指定分支代码同步到本地指定分支(若当前分支与远程仅存在一个追踪关系,直接git pull即可,较为常用)git p原创 2021-01-21 17:48:49 · 151 阅读 · 0 评论 -
pm2命令总结
注释:pm2是一个进程管理工具,可以用它来管理你的node进程,并查看node进程的状态,当然也支持性能监控,进程守护,负载均衡等功能1、 pm2需要全局安装:npm install -g pm22、 启动进程/应用 :pm2 start bin/www 或 pm2 start app.js3、 重命名进程/应用 :pm2 start app.js --name wb1234、 添加进程/应用 :watch pm2 start bin/www --watch5、 结束进程/应用 :pm2 stop原创 2020-12-11 17:46:03 · 4574 阅读 · 0 评论