Skip to content

Commit

Permalink
3.2 Improve Git branching strategy detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Jun 29, 2016
1 parent 9d7b109 commit 3049c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitFlow/Helpers/GitHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public string GetCurrentBranchName(bool trimPrefix)

public bool BranchExists(string branchName)
{
return processHelper.StartProcessGit($"rev-parse --verify {branchName}", false);
return processHelper.StartProcessGit($"rev-parse --verify origin/{branchName}", false);
}
}
}

0 comments on commit 3049c2e

Please sign in to comment.