Notice
Recent Posts
Recent Comments
Link
관리 메뉴

데브마우스

[Git:명령어정리] switch 명령어 정리 본문

Git/Git: 명령어 정리

[Git:명령어정리] switch 명령어 정리

데브마우스 2024. 1. 15. 13:26

Git의 switch 명령어 정리

git switch는 브랜치를 변경할 때 사용합니다.

 

git switch의 코드 형식은 아래와 같습니다.

git switch [<options>] [--no-guess] <branch>
git switch [<options>] --detach [<start-point>]
git switch [<options>] (-c|-C) <new-branch> [<start-point>]
git switch [<options>] --orphan <new-branch>

 

출처: Git/mingw64/share/doc/git-doc/git-switch.html