[url]http://code.google.com/p/msysgit/[/url]
本來想用Eclipse的GIT plugin - EGit來clone網絡上一個repo的code的,結果EGit抛出異常:
java.io.IOException: Could not delete file D:\linphone-android\.git\index.lock
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:133)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:118)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:118)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:254)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:247)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:228)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
看來還是使用msysgit吧.