Je migre un projet SVN vers Git. Le projet SVN a la structure suivante dans le référentiel.(ERREUR) SVN -> Migration Git Erreur non valide
/trunk
/branches
/tags
Parce que je veux tronc d'agir comme branche principale, d'autres branches comme les branches git normales et les étiquettes que les balises git.
j'ai couru en dessous de commande
git svn clone --stdlayout <svn-repo-url>
et aussi essayé
git svn clone <svn-repo-url> -T trunk -b branches -t tags
Pour les deux commandes ci-dessus je suis l'erreur suivante:
fatal: .git\svn\refs\remotes\origin\https;C:\Softwares\Git\index: index file open failed: Invalid argument
(in cleanup) update-index -z --index-info: command returned error: 128
W: +empty_dir: branches/<svn-repo-url>/branches
fatal: Unable to create '<my-git-working-directory>/.git\svn\refs\remotes\origin\https;C:\Softwares\Git\index.lock': Invalid argument
Et si je lance ci-dessous commande
J'obtiens l'erreur suivante
svn-remote.svn: remote ref '/Users/<user-id>/AppData/Local/Programs/Git/trunk:refs/remotes/origin/trunk' must start with 'refs/'
S'il vous plaît aider
J'ai eu le même problème mais j'ai utilisé https://github.com/nirvdrum/svn2git et cela a fonctionné pour moi. – 2Fast2BCn