我尝试通过libgit2sharp在裸存储库上合并分支,但抛出异常:
An unhandled exception of type 'LibGit2Sharp.BareRepositoryException' occurred in LibGit2Sharp.dll
Additional information: An error was raised by libgit2. Category = Repository (BareRepo).
我已经搜索了这个问题,看起来答案是我们无法合并到裸存储库中。有没有办法让libgit2支持裸合并?我们怎么做?