feat(checkout)!: add ability to checkout commit

This commit is contained in:
Aleksey Kulikov 2022-01-21 17:00:46 +03:00
parent 6fe24dcb65
commit eeffa6a008
7 changed files with 115 additions and 38 deletions

View file

@ -159,7 +159,7 @@ Another feature edit
repo: repo,
oid: conflictBranch.target,
);
repo.checkout(refName: 'refs/heads/feature');
repo.checkout(target: 'refs/heads/feature');
final index = repo.index;
repo.merge(commit: commit);