728x90
Git 초기 설정
$ git init
$ git remote add origin http://gitlab.jpkim.co.kr/armyost/sample.git
$ git config --global user.email "jpkim@jpkim.co.kr"
$ git config --global user.name "jpkim"
다른 브랜치에서 Pull
$ git pull origin dev
Default branch 변경
$ git branch dev
$ git checkout dev
$ git status
변경된 branch로 Push
$ git add .
$ git commit -m "production commit"
$ git push
'PaaS > CI CD' 카테고리의 다른 글
CI와 CD는 무엇일까? (0) | 2021.12.21 |
---|---|
(Jira-Jenkins) Jira를 통한 Jenkins 자동빌드 유발 (0) | 2021.11.11 |
(Harbor) Harbor 재기동 그리고 config 수정 (0) | 2021.10.08 |
(Jenkins, Dockerhub, Github, Kubernetes) Github에서 소스를 가져와 Kubernetes에 Jenkins 통해서 배포하기 (0) | 2021.07.22 |
(Jenkins, Kubernetes) Jenkins와 Kubernetes 연동하기 (0) | 2021.07.21 |