Skip to content

feat: add parameter to checkout to specify a remote tracking branch #16

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

Merged
merged 4 commits into from
Jul 20, 2025

Conversation

armcknight
Copy link
Collaborator

I needed this because I have some automation set up for managing forks locally. The way I like to do this is by having two remotes, upstream and fork, and i track each one's default branch separately locally in branches named fork_main and upstream_main, but since those aren't the remote names of those refs, I need to set the tracking branch manually when running git checkout -b

@tib tib merged commit e481781 into BinaryBirds:main Jul 20, 2025
1 check passed
@armcknight armcknight deleted the add-checkout-remote-tracking branch August 5, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants