git@test-git-server:product/test-product.get
2 つのブランチを含むような git URL があります。その URL に関連付けられているすべてのブランチを取得したいと考えています。
そのURLから複製されたロケーションディレクトリから情報を取得しようとしましたが、メインブランチしか表示されません。
var repo = new Repository(path);
var remotes = repo.Network.Remotes;
foreach (var remote in remotes)
{
Debug.WriteLine("remote: {0}", remote.Name);
}
LibGit2Sharp を使用してこれを行う方法は?