Microsoft/vscode
在 GitHub 查看Git - Cannot push branch after branch is deleted from the remote
Open
#122,719 创建于 2021年4月30日
buggithelp wanted
描述
Issue Type: Bug
Case scenario:
- Go to Source Control tab
- Create some branch <branch_name>
- Do and Commit some changes on this branch
- Publish branch
- Delete published branch on origin
- Rename local branch from <branch_name> to <branch_name_new>
- Try to publish renamed branch - you got info like "No commits found to push"
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z) OS version: Windows_NT x64 10.0.18363
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712) |
| GPU Status | 2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 11.89GB (0.52GB free) |
| Process Argv | --crash-reporter-id a9394730-d4f1-4444-9781-081e65521d0e |
| Screen Reader | no |
| VM | 0% |
| Extension | Author (truncated) | Version |
|---|---|---|
| better-comments | aar | 2.1.0 |
| vscode-sql-formatter | adp | 1.4.4 |
| vscode-sqlite | ale | 0.12.0 |
| path-intellisense | chr | 2.3.0 |
| git-diff-and-merge-tool | dav | 1.0.4 |
| gitlens | eam | 11.4.1 |
| vscode-npm-script | eg2 | 0.3.21 |
| prettier-vscode | esb | 6.3.2 |
| select-highlight-minimap | mde | 0.1.0 |
| rainbow-csv | mec | 1.8.1 |
| mssql | ms- | 1.10.1 |
| remote-wsl | ms- | 0.54.6 |
| powershell | ms- | 2021.2.2 |
| codemap | ole | 1.16.0 |
| material-icon-theme | PKi | 4.6.0 |
| tcl | ras | 0.1.0 |
| partial-diff | ryu | 1.4.3 |
| tcl | sle | 0.2.0 |
| vscode-taskexplorer | spm | 2.0.7 |
| codemap | Tia | 0.0.1 |
| gitblame | wad | 6.0.2 |
| material-theme | zhu | 3.10.13 |
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30294772
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry244:30276681
pythonvsnew554cf:30291488
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30294352