cleanup after success commit
This commit is contained in:
parent
2d4e9657d4
commit
0e80eb58d9
2 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,8 @@ export async function createOrUpdateBranch(
|
|||
params.push('--signoff')
|
||||
}
|
||||
await git.commit(params)
|
||||
git.exec(['reset', '--hard'])
|
||||
git.exec(['clean', '-f'])
|
||||
}
|
||||
|
||||
// Perform fetch and reset the working base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue