git-create-branch.md 474 B

git create-branch

리포지토리에 Git 브랜치 생성. git-extras의 일부. 더 많은 정보: https://github.com/tj/git-extras/blob/master/Commands.md#git-create-branch.

  • 로컬 브랜치 생성:

git create-branch {{브랜치_이름}}

  • 로컬 및 origin에 브랜치 생성:

git create-branch --remote {{브랜치_이름}}

  • 로컬 및 upstream(포크를 통해)에 브랜치 생성:

git create-branch --remote upstream {{브랜치_이름}}