mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat(checkout)!: add ability to checkout commit
This commit is contained in:
parent
6fe24dcb65
commit
eeffa6a008
7 changed files with 115 additions and 38 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue