首页 > 解决方案 > How to get all tags from specific branch using LibGit2Sharp

问题描述

From documentation listing all tags:

using (var repo = new Repository("path/to/your/repo"))
{
   foreach (Tag t in repo.Tags)
   {
       Console.WriteLine(t.FriendlyName);
   }
}

But i need to list only tags from specific branch. Is this possible with LibGit2Sharp?

标签: c#libgit2sharp

解决方案


推荐阅读