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

Graph: Add "publish branch" context item for local branches #2619

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

axosoft-ramint
Copy link
Contributor

Adds the ability to "Publish Branch" in the context menu for local branches in the graph without an upstream.

This feature already exists in the Branches view - simply adding similar functionality to the graph.

@axosoft-ramint
Copy link
Contributor Author

@d13 Had to make a PR for this one as I am unable to test it myself. The "publish branch" action in general is not working for me in VSCode (not in the SCM view nor the Branches view).

Mind giving it a quick test/pass?

To test, right click a local branch in the commit graph that doesn't have an upstream, on a remote-connected repo. Should see a "Publish Branch" action. That option should not be there if the local branch has an upstream.

@axosoft-ramint
Copy link
Contributor Author

@d13 was able to test this successfully today, so I'm going to merge it 👍🏼

@axosoft-ramint axosoft-ramint merged commit ab31b2b into main Apr 4, 2023
@axosoft-ramint axosoft-ramint deleted the feature/graph-publish-branch branch April 4, 2023 20:18
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