1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/git-switch.md
Managor fe4c26ba2e
pages*/common/*: add option placeholders to translations part 2 (#15901)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-14 12:48:28 +05:30

29 lines
807 B
Markdown

# git switch
> Git 브랜치 간 전환합니다. Git 버전 2.23+가 필요합니다.
> 같이 보기: `git checkout`.
> 더 많은 정보: <https://git-scm.com/docs/git-switch>.
- 기존 브랜치로 전환:
`git switch {{브랜치_이름}}`
- 새 브랜치를 만들고 전환:
`git switch {{[-c|--create]}} {{브랜치_이름}}`
- 기존 커밋을 기반으로 새 브랜치를 만들고 전환:
`git switch {{[-c|--create]}} {{브랜치_이름}} {{커밋}}`
- 이전 브랜치로 전환:
`git switch -`
- 브랜치로 전환하고 모든 서브모듈을 일치하도록 업데이트:
`git switch --recurse-submodules {{브랜치_이름}}`
- 브랜치로 전환하고 현재 브랜치와 미커밋된 변경 사항을 자동으로 병합:
`git switch {{[-m|--merge]}} {{브랜치_이름}}`