2010-12-15 33 views

回答

35

您是否在使用TortoiseGit時使用了其他工具?

例如,這project mentions與Visual Studio的相互作用:

If you see errors about being unable to unlink old files when running git commands on Windows, it's quite likely that you have the chrome solution open in Visual Studio and it's updating IntelliSense, which will briefly lock files at random.
The workaround is either to disable IntelliSense entirely, or to be sure to close the solution temporarily while performing any git operations which could touch a large number of files.

換句話說,如果不關閉儘可能多的當前運行的應用程序,你可以在問題仍然存在?
TortoiseGit會允許你簽出另一個分支嗎?

24

我遇到了這個問題 - 即使它沒有在編輯器中打開,Eclipse仍在鎖定文件。一旦我關閉了日食,我可以檢查正常。

+0

任何想法如何解決這個問題?當升級到Eclipse 4.4(Luna)時,我突然開始遇到這個問題,從未有過它。 – stolsvik 2014-07-09 13:21:00

+0

就像我說過的,一旦我關閉了Eclipse,它工作得很好。我會嘗試以下操作: 1.停止Eclipse 2.打開任務管理器以確保Eclipse確實死機。 1.重新啓動計算機 2.下載解鎖程序等程序嘗試解鎖文件。祝你好運!我希望這些東西中的一個能幫助你。 對不起,我不知道如何格式化評論。 – 2014-07-09 17:41:07

+0

呃..這不是關閉Eclipse的解決方案,我認爲這很明顯。是的,我當然通過關閉Eclipse發現了Eclipse問題。顯然,可以使用開關「-Dosgi.locking = none」啓動Eclipse,如@ user3825263指出的那樣。 – stolsvik 2014-07-13 23:01:47

4

如果你的問題是基於eclipse鎖定文件,你可以用-Dosgi.locking=none開始你的月食。 我碰到這個問題與月食Luna 4.4.0

+0

我終於把我的日食降級到開普勒版。我遇到了maven,git和windows鎖定文件系統的太多問題。 – victor 2014-07-22 08:11:41

相關問題