libgit2 / libgit2sharp

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

Submodule Add #1927

Open luni64 opened 2 years ago

luni64 commented 2 years ago

Is it possible to do the equivalent of git submodule add repo path with libgit2sharp? Looks like the provided functionality only provides a read only access to the list of submodules

Scal-Human commented 1 month ago

Hello, I was also in need of this feature. I found an old (10 years old) commit where the Add was implemented on SubmoduleCollection, but it seems it has been removed from the current version or never merged. Is there any reason or am I missing something ? See Repository.Submodules.Add created #482

I tried building the vNext branch but it does not build at all

error MSB4062: The "GenerateUniqueIdentifierTask" task could not be loaded