git branch 명령어
2021. 3. 20. 12:06
카테고리 없음
브랜치의 목록을 볼 때 git branch 브랜치를 생성할 때 git branch "새로운 브랜치 이름" 브랜치를 삭제할 때 git branch -d 병합하지 않은 브랜치를 강제 삭제할 때 git branch -D 브랜치를 전환(체크아웃)할 때 git checkout "전환하려는 브랜치 이름" 브랜치를 생성하고 전환까지 할 때 git checkout -b "생성하고 전환할 브랜치 이름"

배포 CLI 명령어
2021. 3. 17. 21:27
명령어
npm init -y 로 초기화 인스턴스 서버 실행 ssh -i test.pem ubuntu@ec2-3-14-149-53.us-east-2.compute.amazonaws.com express 모듈 다운 npm install express express-generator 데브 브린치로 이동 git checkout -b 우분투에서 노드 깔기 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash curl -sL https://deb.nodesource.com/setup_12.x..