Skip to content

Commit

Permalink
chore: adjust pull script to match current branch setup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshift committed Mar 9, 2024
1 parent e2537cf commit a6a916c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/pull-remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const exec = util.promisify(require('node:child_process').exec);
'git rev-parse --abbrev-ref HEAD',
);

// Checkout main
await exec('git checkout main');
// Checkout app-router
await exec('git checkout app-router');

// Pull origin main
await exec('git pull origin main');
// Pull origin app-router
await exec('git pull origin app-router');

// Delete local feature-branch
await exec(`git branch -D ${branchName}`);
Expand Down

0 comments on commit a6a916c

Please sign in to comment.