mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-03 10:04:59 +00:00
fix: arguments order for checkout command (#1368)
This commit is contained in:
parent
729e06d5c0
commit
9affca1fb2
1 changed files with 1 additions and 1 deletions
|
@ -27,9 +27,9 @@ namespace SourceGit.Commands
|
||||||
{
|
{
|
||||||
var builder = new StringBuilder();
|
var builder = new StringBuilder();
|
||||||
builder.Append("checkout --progress ");
|
builder.Append("checkout --progress ");
|
||||||
builder.Append(allowOverwrite ? "-B " : "-b ");
|
|
||||||
if (force)
|
if (force)
|
||||||
builder.Append("--force ");
|
builder.Append("--force ");
|
||||||
|
builder.Append(allowOverwrite ? "-B " : "-b ");
|
||||||
builder.Append(branch);
|
builder.Append(branch);
|
||||||
builder.Append(" ");
|
builder.Append(" ");
|
||||||
builder.Append(basedOn);
|
builder.Append(basedOn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue