public static bool RemoteBranchExists(string branch) { return(ProcessHelper.StartProcessGit($"show-ref refs/remotes/origin/{branch}")); }
/// <summary> /// Do we have any stashes available /// </summary> /// <returns></returns> public static async Task <bool> HasStash() => await ProcessHelper.StartProcessGit("stash list");
public static GitConfig GetGitConfig() { return(new GitConfig(ProcessHelper.StartProcessGitResult("config --get-regexp gitflow"))); }
public static async Task <bool> RemoteBranchExists(string branch) { return(await ProcessHelper.StartProcessGit($"show-ref refs/remotes/origin/{branch}")); }