gomstory

Git Remote branch 이름 변경 (with SourceTree) 본문

etc

Git Remote branch 이름 변경 (with SourceTree)

gommmmm 2024. 8. 30. 16:35

 

Local 브랜치 이름 변경

로컬 브랜치 클릭 > 마우스 우클릭 > 이름 변경

 

Remote 브랜치 이름 변경 (*띄어쓰기 주의)

git push origin :{old_branch}

 

git push --set-upstream origin {new_branch}