Can we merge branch on a bare repository?
-
21-12-2019 - |
Question
I am try to merge branch on a bare repository by libgit2sharp, but throw an exception:
An unhandled exception of type 'LibGit2Sharp.BareRepositoryException' occurred in LibGit2Sharp.dll
Additional information: An error was raised by libgit2. Category = Repository (BareRepo).
I have googled this question, looks like the answer is we can't merging on a bare repository. Is there a way let libgit2 to support bare-merging? How if we can?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow