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

Made local-commits work with all remotes #951

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

tfendin
Copy link
Contributor

@tfendin tfendin commented Jan 3, 2022

The previous version required that the remote branch was in the origin remote. This version uses the upstream branch instead, so it works with any remote. However, it fails if there is no upstream configured. If required, this could be fixed with some checks (i.e. revert to the previous behavior if no upstream is configured.)

Copy link
Collaborator

@spacewander spacewander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update the doc too

@spacewander spacewander merged commit 2025ebf into tj:master Jan 6, 2022
@tfendin tfendin deleted the local-commits-all-remotes branch March 6, 2022 19:44
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.

2 participants