feat(checkout)!: add ability to checkout commit (#35)

This commit is contained in:
Aleksey Kulikov 2022-01-21 17:10:41 +03:00 committed by GitHub
parent 6fe24dcb65
commit f7dde69de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);