8000 fix: remove testing code for `git checkout` command · sourcegit-scm/sourcegit@e446e97 · GitHub
[go: up one dir, main page]

Skip to content

Commit e446e97

Browse files
committed
fix: remove testing code for git checkout command
Signed-off-by: leo <longshuang@msn.cn>
1 parent 3e530de commit
8000
 e446e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/Checkout.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ public Checkout(string repo)
1313

1414
public bool Branch(string branch)
1515
{
16-
Args = $"checkout --force --progress {branch}";
16+
Args = $"checkout --progress {branch}";
1717
return Exec();
1818
}
1919

2020
public bool Branch(string branch, string basedOn)
2121
{
22-
Args = $"checkout --force --progress -b {branch} {basedOn}";
22+
Args = $"checkout --progress -b {branch} {basedOn}";
2323
return Exec();
2424
}
2525

0 commit comments

Comments
 (0)
0