와 함께 원격 자식 분기를 삭제하려고합니다.
git push origin :my_remote_branch
그리고 점점 :
error: unable to push to unqualified destination: my_remote_branch
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'git@example.com:/myrepo'
이들은 내 현재 지점입니다
git branch -a
* develop
master
remotes/origin/HEAD -> origin/master
remotes/origin/develop
remotes/origin/my_remote_branch
git branch -r --merged
origin/HEAD -> origin/master
origin/develop
origin/master
이 지점을 제거하는 방법에 대한 아이디어가 있으면 감사하겠습니다.
git fetch하지만 도움이되지 않았다. 파일을 수동으로 삭제하기 전에보다 직접적인 솔루션을 검색하려고합니다.
git fetch -p오래된 추적 분기를 제거 해야합니다 .
git fetch존재하지 않는 원격 이름을 수정했는지 확인 하려고 했습니까 ? 들어가서 파일을.git\refs\remotes\origin삭제 하려고 시도 했습니까my_remote_branch?