Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot push branch after delete origin #122719

Open
michalZimowski opened this issue Apr 30, 2021 · 2 comments
Open

Cannot push branch after delete origin #122719

michalZimowski opened this issue Apr 30, 2021 · 2 comments
Assignees
Labels
git GIT issues under-discussion Issue is under discussion for relevance, priority, approach

Comments

@michalZimowski
Copy link

Issue Type: Bug

Case scenario:

  1. Go to Source Control tab
  2. Create some branch <branch_name>
  3. Do and Commit some changes on this branch
  4. Publish branch
  5. Delete published branch on origin
  6. Rename local branch from <branch_name> to <branch_name_new>
  7. Try to publish renamed branch - you got info like "No commits found to push"

VS Code version: Code 1.55.2 (3c4e3df, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: 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%
Extensions (22)
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
A/B Experiments
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

@michalZimowski
Copy link
Author

I'm not sure it's a bug, but I think I should have possibility to publish local branch after delete it on origin.
Maybe it's a git issue.

@lramos15 lramos15 assigned lszomoru and unassigned eamodio Oct 12, 2021
@lszomoru lszomoru added git GIT issues under-discussion Issue is under discussion for relevance, priority, approach labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
git GIT issues under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

3 participants