Git 客户端,采用 C# 编写。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
412 B

using EnvDTE;
namespace GitPluginShared.Commands
{
public sealed class CreateBranch : ItemCommandBase
{
protected override void OnExecute(SelectedItem item, string fileName, OutputWindowPane pane)
{
RunGitEx("branch", fileName);
}
protected override CommandTarget SupportedTargets
{
get { return CommandTarget.Any; }
}
}
}