« Git/Travailler avec Git local et un dépôt Subversion distant » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 23 :
 
<source lang="bash">
git svn info <URL du dépôt root>
</source>
 
Une ligne du résultat indique le dépôt racine. Le chemin du tronc est simplement le reste de l'URL qui suit.
There will be a line in the output stating the repository root. The path to trunk is simply the rest of the URL that follows.
 
It is possible to simply give git-svn the full project URL, but doing it this way gives you greater flexibility should you
Il est possible de simplement donner à <code>git-svn</code> l'URL complète du projet, mais cela peut stopper la possibilité de travailler sur des branches SVN.
end up working on subversion branches down the line.
 
Also note the "first rev" argument. You could simply use "1", as that is guaranteed to work, but it would likely take a very