checkout working base
This commit is contained in:
parent
2b011faafd
commit
1bf5cb73d1
3 changed files with 66 additions and 0 deletions
|
@ -283,6 +283,9 @@ export async function createOrUpdateBranch(
|
|||
// Delete the temporary branch
|
||||
await git.exec(['branch', '--delete', '--force', tempBranch])
|
||||
|
||||
// Checkout the working base to leave the local repository as it was found
|
||||
await git.checkout(workingBase)
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue