1. 저장소를 들어간 후 Setting 선택

2. 왼쪽 메뉴에서 General 선택 후 Default branch

2-1) 보라색 버튼을 클릭시 브랜치 명을 변경할 수 있다.

master 브랜치를 main으로 이름 변경

2-2) 핑크색 버튼 클릭시 default branch를 변경할 수 있다.


I inderstand, update the default branch 버튼 클릭

default 브랜치가 변경되었다.
저장소 Code를 확인해보면, 잘 수정되어있다.

'DevOps & Infrastructure > ▶DevTools' 카테고리의 다른 글
| git - detected dubious ownership 에러 해결방법 (0) | 2024.10.08 |
|---|---|
| git 저장소 삭제하기 (Repository delete) (0) | 2024.02.29 |
| git Git Push 성공 후 반영 안 됨:Everything up-to-date 해결법 (0) | 2024.02.13 |
| git [gitError] error: failed to push some refs to 가 떴을때 (0) | 2024.02.10 |
| git 완벽 가이드:사용자 설정부터 Pull Request 협업까지 (1) | 2024.01.25 |

