Tucker McKnight <tucker@pangolin.lan> | Sun Jan 11 2026
see if cd works instead of git -C
114 115 116 117 118 119
for (let branch of repoConfig.branchesToPull) {
console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
console.log(await exec(`ls -lha ${tempDirRepoPath}`))
await exec(`git -C ${tempDirRepoPath} checkout ${branch}`)
for (let buildStep of repoConfig.buildSteps) {
// Run the command for each step in each branch
console.log(`cding into ${tempDirRepoPath}`)114 115 116 117 118 119 120
for (let branch of repoConfig.branchesToPull) {
console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
console.log(await exec(`ls -lha ${tempDirRepoPath}`))
// TODO why doesn't git -C checkout work? Says that repo doesn't exist
await exec(`(cd ${tempDirRepoPath} && git checkout ${branch})`)
for (let buildStep of repoConfig.buildSteps) {
// Run the command for each step in each branch
console.log(`cding into ${tempDirRepoPath}`)