티스토리 뷰
1. 브랜치 생성
git branch "<branch>"
2. 브랜치 전환하기
git checkout "<branch>"
3. git add .
4. git commit -m "message"
5. git push origin <branch>
--------Merge하는 방법은 이후에 추가할 예정----------------
--------원격 저장소에 Merge한 이후 -------------
1. git remote update
2. git pull origin <branch 명>
3. 해당 브랜치 로컬에서 삭제
$ git branch -d <branchname>
'Git' 카테고리의 다른 글
Git branch 옵션 정리 (0) | 2021.03.05 |
---|---|
Git remote repository 변경 (0) | 2021.03.03 |
Git Repository migration (0) | 2021.02.28 |
push 된 file 에 .gitignore 적용시키는 방법 (0) | 2021.01.22 |
Git 프로젝트파일 업로드 (0) | 2020.09.08 |