libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.13k stars 879 forks source link

git pull throws exception as "e = {"could not rmdir 'xxx': The process cannot access the file because it is being used by another process."} #1995

Open chenning007 opened 1 year ago

chenning007 commented 1 year ago

You are opening a bug report against the LibGit2Sharp project: we use GitHub Issues for tracking bug reports and feature requests. If you have a question about an API or usage, please ask on StackOverflow: http://stackoverflow.com/questions/tagged/libgit2sharp.

Otherwise, to report a bug, please fill out the reproduction steps (below) and delete these introductory paragraphs. Thanks!

Reproduction steps

My code is from wiki page:

https://github.com/libgit2/libgit2sharp/wiki/git-pull

image

Expected behavior

Actual behavior

Version of LibGit2Sharp (release number or SHA1)

Operating system(s) tested; .NET runtime tested