1. 程式人生 > >【常用指令】git+服務器+數據庫

【常用指令】git+服務器+數據庫

str checkout {} -m code 版本說明 ont xxx 數據

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
  ........

【常用指令】git+服務器+數據庫