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

@ -365,7 +365,7 @@ void main() {
oid: conflictBranch.target,
);
conflictRepo.checkout(refName: 'refs/heads/feature');
conflictRepo.checkout(target: 'refs/heads/feature');
conflictRepo.merge(commit: commit);
@ -421,7 +421,7 @@ void main() {
oid: conflictBranch.target,
);
conflictRepo.checkout(refName: 'refs/heads/our-conflict');
conflictRepo.checkout(target: 'refs/heads/our-conflict');
conflictRepo.merge(commit: commit);
@ -449,7 +449,7 @@ void main() {
oid: conflictBranch.target,
);
conflictRepo.checkout(refName: 'refs/heads/feature');
conflictRepo.checkout(target: 'refs/heads/feature');
conflictRepo.merge(commit: commit);