Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat fetch all #65

Merged
merged 6 commits into from
Apr 15, 2024
Merged

Feat fetch all #65

merged 6 commits into from
Apr 15, 2024

Conversation

chengcyber
Copy link
Member

@chengcyber chengcyber commented Apr 12, 2024

Basic Checks

Have you run rush change for this change?

  • Yes
  • No

If No, please run rush change before, this is necessary.

If adding a new feature, the PR's description includes:

  • Reason for adding this feature
  • How to use
  • A basic example

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Summary

  1. "sparo fetch --all" temporary turn off single branch mode and fetch all remote branches. This makes 'git branch --remote' works
  2. "sparo checkout " will automatically run "git remote set-branches --add " once to make "fetch" can fetch those checkout-ed branches.

Detail

How to test it

Local

@chengcyber chengcyber merged commit 2539ea1 into main Apr 15, 2024
3 checks passed
@chengcyber chengcyber deleted the feat-fetch-all branch April 15, 2024 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant