Skip to content

Commit 5f82803

Browse files
committed
Added force to git checkout.
1 parent 860d62f commit 5f82803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostSharp.Engineering.BuildTools/Utilities/GitHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static bool TryCheckoutAndPull( BuildContext context, string branch )
7070
if ( !ToolInvocationHelper.InvokeTool(
7171
context.Console,
7272
"git",
73-
$"checkout {branch}",
73+
$"checkout {branch} --force",
7474
context.RepoDirectory ) )
7575
{
7676
return false;

0 commit comments

Comments
 (0)