[Git] Default 브랜치는 master에서 main으로 변경되었다.

Kyle_Kim·2023년 2월 12일
0

Git default브랜치가 master에서 Main으로 변경되었다

밑의 코드로 다시 브런치를 변경해주자.

git checkout master // master로 브런치를 옮겨준 후에

git branch main master -f // main branch를 master에서 main으로 변경한다. 

git checkout main 

git push origin main -f
profile
Make Things Right

0개의 댓글