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

Execute git fetch before checking the list of branches #17

Merged
merged 1 commit into from
May 4, 2022

Conversation

nicholasray
Copy link
Contributor

I noticed that running ./pixel.js reference -b latest-release after
not using pixel for awhile gave me lots of Branch "origin/wmf/1.39.0-wmf.10" of ... not found on origin as the latest
release branch hadn't been pulled down yet.

To fix this, always run git fetch before running the command to get the
list of branches on the origin.

I noticed that running `./pixel.js reference -b latest-release` after
not using pixel for awhile gave me lots of `Branch
"origin/wmf/1.39.0-wmf.10" of ... not found on origin` as the latest
release branch hadn't been pulled down yet.

To fix this, always run git fetch before running the command to get the
list of branches on the origin.
@nicholasray nicholasray merged commit cf3174d into main May 4, 2022
@nicholasray nicholasray deleted the git-fetch-before-checking-branches branch May 4, 2022 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant