Skip to content

Made local-commits work with all remotes#951

Merged
spacewander merged 2 commits intotj:masterfrom
tfendin:local-commits-all-remotes
Jan 6, 2022
Merged

Made local-commits work with all remotes#951
spacewander merged 2 commits intotj:masterfrom
tfendin:local-commits-all-remotes

Conversation

@tfendin
Copy link
Copy Markdown
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
Copy Markdown
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