Microsoft/vscode

Git - provide action `push --set-upstream` when remote ref is delete

Open

#172,722 opened on Jan 29, 2023

 (2 comments) (1 reaction) (1 assignee)TypeScript (39,847 forks)batch import
feature-requestgithelp wanted

Repository metrics

Stars
 (184,936 stars)
PR merge metrics
 (PR metrics pending)

Description

When remote branch is merged, the branch is often deleted automatically. So when I try push the code to remote by Sync Changes, will notify:

image

It would be convenient to provide a action button to run git push --set-upstream origin $current_branch

@lszomoru

Contributor guide