概要
windows10 32bit でsourcetreeを公式サイトからダウンロードして
インストールしたものの、リポジトリのクローン時やローカルリポジトリを
リモートにpushしたりするときにエラーが出て全然使えなかったのを解決した話。
エラーの内容
- warning: templates not found
- libcurl-4.dll がない
- libssh2-1.dll がない
解決策
ここの英語のページのってました。
- 引用
C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin
But they should also be found at:
C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\libexec\git-core
After a Copy 'n' paste of all 37 DLL's into the git-core folder and it is now working. Hope this helps someone.
- 超適当訳
C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin にある.dllのファイル(総数37個)を、 C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\libexec\git-core にコピーすればいいんだぜ。
結果
ちゃんと動くようになりました。
これはバグなのかなぁ。。。