2013-05-26 5 views
5

FrageWie klont man ein Subversion-Repository mit "GitHub für Windows"?

Ich habe GitHub for Windows installiert und habe mich gefragt, ob ich ein Subversion-Repository mit dem „Git Shell“ klonen kann, die zusammen mit „für Windows GitHub“ kommt.

Versuch und Irrtum

Ich habe versucht, die folgenden:

  1. Fenster> Start> Alle Programme> GitHub, Inc> Git Shell
  2. Aus dem Git Shell Powershell-Fenster: git-svn clone -s http://example.com/my_subversion_repo .

Dann bekam ich die folgende Fehlermeldung:

The term 'git-svn' is not recognized as the name of a cmdlet, 
function, script file, or operable program. Check the spelling of the 
name, or if a path was included, verify that the path is correct and 
try again. At line:1 char:8 
+ git-svn <<<< clone -s http://example.com/my_subversion_repo . 
+ CategoryInfo   : ObjectNotFound: (git-svn:String) [], CommandNotFoundException 
+ FullyQualifiedErrorId : CommandNotFoundException 

Google

Ja, ich schon gegoogelt, aber keine Antwort finden.

Antwort

4

Wie erwähnt in "What is the difference between Git Bash and the GitHub for Windows shell?" wird die GitHub Shell basierend auf posh-git, die git-svn unterstützt.

Doch diese release note erwähnt:

  • git-svn Operationen: git svn <tab>

Das heißt, nein '-' zwischen git und svn.

Wenn das Problem weiterhin besteht, und da GitHub for Windows enthält auch eine msysgit Verteilung, könnten Sie die msysgit bash stattdessen öffnen und versuchen, zu git svn Befehle gibt.

+0

Darn! Kein Bindestrich. Vielen Dank! – Lernkurve

Verwandte Themen