Skip to content

git push message reference to 'upstream' may be confusing #118617

@gjsjohnmurray

Description

@gjsjohnmurray

After creating a new local branch in a repo with two remotes named 'origin' and 'upstream', with 'origin' as the default remote, when I use the Push option from the SCM context menu I receive a warning message about my new local branch having no upstream branch. It seems to come from here:

const message = localize('confirm publish branch', "The branch '{0}' has no upstream branch. Would you like to publish this branch?", branchName);

or here:

const message = localize('confirm publish branch', "The branch '{0}' has no upstream branch. Would you like to publish this branch?", branchName);

Could it talk about no remote branch instead?

Metadata

Metadata

Assignees

Labels

gitGIT issuesinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions