> For the complete documentation index, see [llms.txt](https://docs.sysout.co.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sysout.co.kr/etc/github/github-integrated/team-project/branch-1.md).

# Branch 다시 생성

## Branch 다시 생성

PR 후 병합하면 브랜치를 지우고 다시 만드는 것을 권장하므로 이클립스에서 main 브랜치를 다시 복제하여 신규 브랜치를 생성해야 한다. 생성 과정은 다음과 같다.

1. Remote Tracking의 `origin/main` 더블 클릭
2. Checkout as New Local Branch 선택
3. main 이름으로 생성
4. main을 제외한 local 브랜치 삭제
5. pull을 통하여 변경사항 내려받기
6. local의 main을 우클릭하여 create branch
7. 이름 작성 후 Finish 눌러 생성
8. 생성한 local 브랜치 외 다른 local 브랜치 삭제
9. 생성한 local 브랜치 우클릭 후 push branch로 Git에 업로드

<div align="left"><figure><img src="https://4208234536-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_TNZwLuHV9ipYLbvRq%2Fuploads%2FzH33R5nDiQnPClKKTzwg%2F%EB%B8%8C%EB%9E%9C%EC%B9%98%EB%8B%A4%EC%8B%9C%EB%A7%8C%EB%93%A4%EA%B8%B0.gif?alt=media&amp;token=3469ff5e-0211-4265-a652-3239a7f597c2" alt=""><figcaption></figcaption></figure></div>
