본문 바로가기

카테고리 없음

NextStep 온라인 코드리뷰 1단계 정리

1. 저장소의 많은 브랜치에서 하나의 브랜치(=자신이 사용할 브랜치)만 클론

git clone -b (본인 아이디) --single-branch https://github/(본인 아이디)/(저장소 아이디)

ex. git clone -b JoyDaheeCha --single-branch https://github/joydaheecha/java-racing-car

 

2. 로컬에 생성된 브랜치 확인

git branch -a

 

3. 로컬에 브랜치 만들기

git checkout -b (브랜치명)
ex) git checkout -b step1