"The default branch has been renamed!"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:


[[파일:173876093-16209cbf-25d9-4f47-92a8-e8c7eccd84c1.png|600px]]
[[파일:173876093-16209cbf-25d9-4f47-92a8-e8c7eccd84c1.png|600px]]
The default branch has been renamed!
master is now named main
If you have a local clone, you can update it by running the following commands.
<syntaxhighlight lang='bash'>
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[브랜치]]
* [[브랜치]]
* [[git branch]]
* [[git fetch]]
* [[git remote]]


==참고==
==참고==
* https://github.com/nodejs/node/issues/33864#issuecomment-1156672099
* https://github.com/nodejs/node/issues/33864#issuecomment-1156672099


[[분류: git]]
[[분류: GitHub]]
[[분류: GitHub]]

2023년 2월 23일 (목) 17:22 기준 최신판

1 개요[ | ]

The default branch has been renamed!

173876093-16209cbf-25d9-4f47-92a8-e8c7eccd84c1.png

The default branch has been renamed!

master is now named main

If you have a local clone, you can update it by running the following commands.

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}