git 수정 원격 브랜치 이름

  1. 로컬 브랜치 이름 수정
git branch -m oldName newName 
  1. 원격 이전 지점 삭제
git push --delete origin oldName
  1. 새 로컬 브랜치 업로드
git push origin newName  
  1. 원격 분기를 로컬 분기와 연결
git branch --set-upstream-to origin newName  

Supongo que te gusta

Origin blog.csdn.net/qq_41536505/article/details/118389292
Recomendado
Clasificación