git clone http://~.git
git checkout -t origin/develop

--git checkout develop
git pull
git checkout -b feat/~
  개발 & add & commit
git checkout develop
git pull
git checkout feature/
git rebase develop
  충돌? 수정 > git add. > git rebase --continue
git checkout develop
git merge --no-ff feature/
git push
git branch -d feature/

'Dev-Git' 카테고리의 다른 글

git 저장소 복사 및 생성  (0) 2024.01.26
git사용법  (0) 2019.12.03

screen -d -m {service script}

 

screen -r 재진입

 

Ctrl+a d screen 분리

'Dev-Linux' 카테고리의 다른 글

rocky spring nginx java git vue  (1) 2023.12.20

npm install pm2 -g

 

[ecosystem.config.js]

module.exports = {
  apps: [
    {
      name: 'app-name',
      script: './node_modules/nuxt/bin/nuxt.mjs',
      args: 'dev --dotenv config/.env.dev --port 3003'
    }
  ]
}

 

>pm2 start

>pm2 ps

 

[jenkins script after build]

call pm2 stop app-name

call npm install

call xcopy "src" "target" /e /k /y

call pm2 restart app-name

+ Recent posts