Microsoft/vscode

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

Open

#172,722 opened on Jan 29, 2023

View on GitHub
 (2 comments) (1 reaction) (1 assignee)TypeScript (10,221 forks)batch import
feature-requestgithelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

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