2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SourceTreeのターミナルが開かない場合

Last updated at Posted at 2018-01-18

Windows10でSourceTreeを使用しているが、下記エラーが出てターミナルが開かない。

Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.

DLLの関連付けがどうたらの問題の模様。(内蔵Gitを使用している場合に起こる。)
post-install.batというバッチを手動で実行すれば直るようだ。

cd C:\Users\{ユーザー名}\AppData\Local\Atlassian\SourceTree\git_local

post-install.bat

例はコマンドプロンプトだが、ファイルを直接実行しても構わない。

post-install.bat、要は中でrebaseallをやってくれている。
なお、このバッチファイルは実行すると、もはや無用とばかりに消えてしまう。お勤めありがとう。。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?