diff --git a/lib/setup/clone.dart b/lib/setup/clone.dart index afc47315..eeaaab83 100644 --- a/lib/setup/clone.dart +++ b/lib/setup/clone.dart @@ -76,9 +76,7 @@ Future cloneRemote({ } } else { Log.i("Completing - localBranch diff remote: $branch $remoteBranchName"); - - var headRef = await repo.resolveReference(await repo.head()); - await repo.createBranch(remoteBranchName, hash: headRef.hash); + await repo.createBranch(remoteBranchName); await repo.checkoutBranch(remoteBranchName); await repo.deleteBranch(branch);