We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf8b2d commit bf90415Copy full SHA for bf90415
src/autodev.ts
@@ -127,9 +127,8 @@ const autoDev = async (): Promise<void> => {
127
info(`Branch ${branch} does not exist. Creating branch from ${base}.`)
128
await exec(`git checkout -b ${branch} ${base}`)
129
await exec(`git push -u origin ${branch}`)
130
- } else {
131
- await exec(`git checkout ${branch}`)
132
}
+ await exec(`git checkout -B ${branch}`)
133
134
// only push to defined branch if there are changes
135
await exec('git fetch')
0 commit comments