Skip to content

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

Merged
ramin-t merged 1 commit intomainfrom
feature/graph-publish-branch
Apr 4, 2023
Merged

Graph: Add "publish branch" context item for local branches#2619
ramin-t merged 1 commit intomainfrom
feature/graph-publish-branch

Conversation

@ramin-t
Copy link
Contributor

@ramin-t ramin-t commented Apr 3, 2023

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.

@ramin-t ramin-t requested a review from d13 April 3, 2023 22:33
@ramin-t
Copy link
Contributor Author

ramin-t commented Apr 3, 2023

@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.

@ramin-t
Copy link
Contributor Author

ramin-t commented Apr 4, 2023

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

@ramin-t ramin-t merged commit ab31b2b into main Apr 4, 2023
@ramin-t ramin-t 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