fix: stop pull-all from silently switching branches #50

Merged
vnprc merged 1 commit from agent/fix-pull-all-checkout into master 2026-06-20 18:11:46 +01:00
Contributor

Summary

  • By default, pull-all now skips repos on non-default branches instead of silently checking out the default branch
  • The old branch-switching behavior is opt-in via --switch
  • Adds --help/-h flag that prints usage from the script header

Fixes #48

Validation

Run the test suite:

bash tests/pull-all.sh

Verify help output:

./pull-all --help
## Summary - By default, `pull-all` now skips repos on non-default branches instead of silently checking out the default branch - The old branch-switching behavior is opt-in via `--switch` - Adds `--help`/`-h` flag that prints usage from the script header Fixes #48 ## Validation Run the test suite: ``` bash tests/pull-all.sh ``` Verify help output: ``` ./pull-all --help ```
By default, pull-all now skips repos on non-default branches instead
of checking out the default branch. The old behavior is available
via --switch. Also adds --help/-h flag.

Fixes #48
Default mode now pulls whatever branch the repo is on rather than
skipping repos on non-default branches.
vnprc-agent force-pushed agent/fix-pull-all-checkout from d638346643 to 20abe73540 2026-06-20 18:08:45 +01:00 Compare
vnprc approved these changes 2026-06-20 18:11:40 +01:00
vnprc merged commit 20abe73540 into master 2026-06-20 18:11:46 +01:00
vnprc deleted branch agent/fix-pull-all-checkout 2026-06-20 18:11:46 +01:00
Sign in to join this conversation.
No description provided.