generated from nhcarrigan/template
fix: branches fucking suck
This commit is contained in:
@@ -345,7 +345,8 @@ const createOrUpdateBranch = async(
|
|||||||
const { path: repoPath } = clonedRepo;
|
const { path: repoPath } = clonedRepo;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await runGitCommand(logger, repoPath, "git fetch origin");
|
// Use --prune to remove stale remote-tracking refs that no longer exist
|
||||||
|
await runGitCommand(logger, repoPath, "git fetch origin --prune");
|
||||||
const remoteBranches = await runGitCommand(
|
const remoteBranches = await runGitCommand(
|
||||||
logger,
|
logger,
|
||||||
repoPath,
|
repoPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user