UI/git || github
[git] a new branch
Soo_Parkle
2024. 5. 27. 14:26
bash 에서 github branch 만들기
작업폴더에서 GitBash 오픈 (Windows경우 파란색 글씨의 master표시 확인)
1. git branch (생성할 브랜치이름)
- 브랜치 생성
2. git checkout (생성한 브랜치이름)
- 생성한 브랜치로 전환
- 2번의 브랜치이름과 동일해야 한다.
3. git push
- 원격 저장소에 반영하기
- 2,3의 브랜치이름과 동일해야 한다.
4. git push --set-upstream origin hella-dev
- 원격 저장소 동기화 시키기
참조 https://github.com/TheCopiens/algorithm-study/blob/master/docs/github/howToCreate_branch.md
클론을 원한다면