Skip to content

after push a new branch to remote, add a button for directly creating merge request #169108

@ladyrick

Description

@ladyrick

When I create a new branch locally then push to remote, git output channel will show a log like this:

2022-12-14 16:37:42.279 [info] > git push -u origin feat/a-new-feat-branch [1272ms]
2022-12-14 16:37:42.279 [info] remote: 
remote: To create a merge request for feat/a-new-feat-branch, visit:        
remote:   https://example.remote.com/space_name/repo_name/merge_requests/new?merge_request%5Bsource_branch%5D=feat%2Fa-new-feat-branch        
remote: 
To example.remote.com:space_name/repo_name.git
 * [new branch]      feat/a-new-feat-branch -> feat/a-new-feat-branch

In this log is a useful link lead to a page to directly create a MR.

I wonder if vscode can show this link for me so I don't need to open the git log and search for it?

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions