2013-05-26 29 views
5

SoruBir Subversion deposu "Windows için GitHub" ile nasıl kopyalanır?

Ben GitHub for Windows yüklü ve ben "Windows için GitHub'dan" ile birlikte geliyor "Git Shell" ile arşivinizi klonlamak olup olmadığını merak ediyorum. Deneme yanılma

Denedim aşağıdadır:

  1. , Windows> Başlat> Tüm Programlar> GitHub, Inc> Git Shell Git Shell PowerShell penceresinden
  2. : git-svn clone -s http://example.com/my_subversion_repo .

Bu hata iletisini aldım:

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 

tarihinde

Evet, zaten googled ama bir cevap bulamadık.

cevap

4

"What is the difference between Git Bash and the GitHub for Windows shell?" de belirtildiği gibi, GitHub Shell git-svn destekler posh-git dayanmaktadır.

Ancak bu release note bahseder:

  • git-svn işlemleri: git svn <tab> anlamına

, git ve svn arasında '-'. Sorun devam ederse GitHub for Windows ayrıca msysgit dağılımını içerdiğinden

ve, bunun yerine msysgit bash açın ve orada da git svn komutları deneyebilirsiniz.

+0

Darn! Tire yok. Teşekkür ederim! – Lernkurve

İlgili konular