git 1.8.3.msysgit.0이 설치된 64 비트 Windows 7을 사용하고 있습니다.'git'이 작동하는 이유는 무엇입니까? 'git-svn'은 그렇지 않으며 어떻게 수정합니까?
곳에서 잘 작동git
명령
:
PS C:\dev> git --version
git version 1.8.3.msysgit.0
그러나 명령 git-svn
하지 않는이 :
PS C:\dev> git-svn
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 <<<<
+ CategoryInfo : ObjectNotFound: (git-svn:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
위의 예제는 PowerShell을 사용하지만, 힘내 강타를 실행
비슷한을 제공합니다 오류 :
$ git-svn
sh.exe": git-svn: command not found
힘내라. C:\Program Files (x86)\Git
에서 alled
내 윈도우 Path 시스템 변수는 포함 C:\Program Files (x86)\Git\cmd;
그 디렉토리에있는 다른 파일 때문에 나에게 혼란없는 파일 확장명 C:\Program Files (x86)\Git\libexec\git-core\git-svn
에서 git-svn
삶 .exe
확장을 수행 할 것으로 보인다, 사람들은 일반적으로 더 큰 있지만 아마도 git-svn
이 다른 명령에 대한 별칭으로 간주되지만 Windows에서는 해당 명령을 실행할 수 있다는 것을 알지 못합니다. 나는 단지 거기에서 추측하고있다.
어쨌든이 문제를 어떻게 해결합니까?
제가 참조했던 튜토리얼은 오래된 것이고 실제로는 새로운 (작동하는) 형식 대신 하이픈이있는 형식을 사용했습니다. 고맙습니다! –