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

fix post-push pull when pushing to an alternate upstream #7

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

ashtonG
Copy link
Contributor

@ashtonG ashtonG commented Jan 23, 2019

This contains a fix for using the tool on release branches with no set upstream, as well as when using the upstream flag. Originally, we ran git pull --rebase after pushing the new code and tags to the upstream, but this caused issues when the current branch didn't have an upstream configured. In addition, this would also ignore the specified upstream that we pushed to. The new code is equivalent to git pull [upstream] --rebase, which should solve the underlying problem.

@ashtonG ashtonG merged commit 1d008da into master Jan 23, 2019
@ashtonG ashtonG deleted the fix-post-push-pull branch January 23, 2019 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants