cleanup after success commit

This commit is contained in:
avdim 2021-12-08 18:31:26 +03:00
parent 2d4e9657d4
commit 0e80eb58d9
2 changed files with 4 additions and 0 deletions

View file

@ -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