Câu hỏiLàm thế nào để sao chép một kho lưu trữ Subversion với "GitHub cho Windows"?
Tôi có GitHub for Windows cài đặt và đã tự hỏi liệu tôi có thể sao chép một kho lưu trữ Subversion với "Git Shell" mà đến cùng với "GitHub cho Windows".
Thử và sai
tôi thử như sau:
- Windows> Start> All Programs> GitHub, Inc> Git Shell
- Từ cửa sổ Git Shell PowerShell:
git-svn clone -s http://example.com/my_subversion_repo .
Sau đó, tôi nhận được thông báo lỗi này:
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
Vâng, tôi đã googled, nhưng không tìm thấy câu trả lời.
- git-svn: Effectively Using Git With Subversion
- GitHub for Windows help
- "github windows" subversion checkout
- how to clone a subversion repository with "github for windows"
Darn! Không có dấu nối. Cảm ơn bạn! – Lernkurve