2013-05-26 15 views
5

質問"GitHub for Windows"を使ってSubversionリポジトリをクローンする方法は?

私はGitHub for Windowsがインストールされていると私は「Windows用のGitHub」と一緒に来て「Gitのシェル」とSubversionリポジトリのクローンを作成できるかどうかを疑問に思いました。

試行錯誤

私は次のことを試してみました:

  1. のWindows> [スタート]> [すべてのプログラム]> [GitHubに、株式会社> Gitのシェル
  2. GitのシェルPowerShellウィンドウから:git-svn clone -s http://example.com/my_subversion_repo .

次に、このエラーメッセージが表示されます。

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 

グーグル

はい、私はすでにグーグルが、答えを見つけることができませんでした。

答えて

4

"What is the difference between Git Bash and the GitHub for Windows shell?" で述べたように、GitHubのシェルはgit-svnをサポートする、posh-gitに基づいています。

しかし、このrelease noteは言及:

  • git-svn操作:git svn <tab>

gitsvn間、NO '-' を意味しません。

GitHub for Windowsにもmsysgitディストリビューションが含まれているため、代わりにmsysgit bashを開いて、git svnコマンドも試すことができます。

+0

ダーン!ハイフンなし。ありがとうございました! – Lernkurve

関連する問題