다음 문제로 고민하고 있습니다.git-svn이 SVN 분기를 따르는 분기를 만들 수 없습니다.
Found possible branch point: https://somecompany.com/product/trunk
=> https://somecompany.com/product/branches/deep/branches/product-001, 72666
Found branch parent: (refs/remotes/deep/branches/product-001) b685b7b92813885fdf 6b8e2663daf884bf504b14
Following parent with do_switch
Successfully followed parent
error: 'refs/remotes/deep' exists; cannot create 'refs/remotes/deep/branches/product-001'
fatal: Cannot lock the ref 'refs/remotes/deep/branches/product-001'.
update-ref -m r72667 refs/remotes/deep/branches/product-001 df51920e8f0a53f26507 c2679eb6a9dbad91e0d6: command returned error: 128
내가 SVN 가지의 기본 필터를 사용하여 버전을 가져 오는했기 때문에 이런 일이 :
[svn-remote "svn"]
url = https://somecompany.com/someproduct
fetch = trunk:refs/remotes/trunk
branches = branches/*:refs/remotes/*
tags = tags/*:refs/remotes/tags/*
을 내가
git svn fetch
와 SVN에서 개정을 가져 오는 계속 때 나는 다음과 같은 오류를 받고 있어요
이제 아래 라인이 추가되었지만 너무 늦었습니다.
branches = branches/deep/branches/*:refs/remotes/deep/branches/*
모든 커밋을 제거하기 위해 git svn reset을 사용하여이 문제를 해결하려고했습니다. 실제로 오류 메시지에서 git이 올바른 작업을 시도하고 있지만 브랜치 리모트/딥이 존재하지 않기 때문에 볼 수 없습니다.
두 가지 가능한 솔루션을 찾으려고했습니다 : 1. 해당 브랜치 (원격/깊은)를 제거하십시오. 그러나 리모컨으로 git에서 추적 할 때 그 해결책을 찾지 못했습니다. 2. 해당 지사와 관련된 전체 기록을 제거하십시오. ? 어떤 성공도 :(
누구
/깊은 깊은/.git/로그/심판/리모트 제거 2. 포장 된-심판에서 설명해 주시겠습니까? – ryenus
rm 또는 del에 의해 당신이 사용하는 운영 체제에 따라 –