【常用指令】git+服务器+数据库

git日程操作  服务器常用操作

①同步master

    git pull origin master

②创建分支

    git checkout -b 分支名

③常规操作

    git diff

    git add 文件名

    git commit -m "版本说明"

④push操作

git push -u origin 分支名

⑤发起merge请求


服务器 常用指令

①看日志

    tailf ".../.../localhost.log"

②看catalina.out

    tailf "../../catalina.out"

③打印log

    LOGGER.error("=====起点1.1.1.1======{}", xxx); // TODO 删除

④切换到项目目录

    cd /opt/../../ROOT/WEB-INF/lib
  ........

猜你喜欢

转载自www.cnblogs.com/daydayhave/p/10236274.html