[Git] Git 특정 Branch Clone 하기


[Git] Git 특정 Branch Clone 하기

Git(깃)을 이용하여 프로젝트 관리시 Master(마스터)가 아닌 Develop(디벨로퍼)으로 생성하여 개발 후 Test 를 위해 Git Clone이 필요한 경우가 있다. 그런 경우 기본적으로 알고 있는 방법으로 Git Clone을 하는 경우 Master가 바로 Clone(클론)이 됨에 따라, Develop과 같이 특정 Branch(브랜치)를 Clone 하는 방법을 알아보도록 하자. $ git clone -b # git clone -b $ git clone -b develop https://github.com/project/test.git Cloning into 'test'... Username for 'https://github.com': xxxxx Password for 'https://xxxxx@..


원문링크 : [Git] Git 특정 Branch Clone 하기