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

Unable to pull branch when the local branch whose name differs from its tracking branch #3277

Closed
gtianw opened this issue May 10, 2024 · 6 comments
Assignees
Labels
bug Something isn't working needs-verification Request for community verification
Milestone

Comments

@gtianw
Copy link

gtianw commented May 10, 2024

Description

1.For example, local branch name is sampleA and upstream is origin/sampleB.
2.Click the pull button in the commits view.
3.Notification will output: Unable to pull branch sampleA from origin.

GitLens Version

14.9.1

VS Code Version

版本: 1.89.0 (system setup)
提交: b58957e67ee1e712cebf466b995adf4c5307b2bd
日期: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19045

Git Version

git version 2.44.0.windows.1

Logs, Screenshots, Screen Captures, etc

No response

@gtianw gtianw added bug Something isn't working triage Needs to be looked at labels May 10, 2024
@gtianw
Copy link
Author

gtianw commented May 10, 2024

Additional information: sampleA is a worktree.

@Natka198902
Copy link

Opis

  1. Na przykład nazwa oddziału lokalnego to, sampleAa nazwa oddziału nadrzędnego to origin/sampleB. 2. Kliknij przycisk ściągania w widoku zatwierdzeń. 3. Zostanie wyświetlone powiadomienie: Nie można pobrać gałęzi sampleAze źródła.

Wersja GitLensa

14.9.1

Wersja kodu VS

Wersja: 1.89.0 (konfiguracja systemu) : b58957e67ee1e712cebf466b995adf4c5307b2bd Wersja: 2024-05-01T02:09:22.859Z Electron: 28.2.8 ElectronBuildId: 27744544 Chrom ium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19- elektron.0 System operacyjny: Windows_NT x64 10.0.19045

Wersja Gita

git wersja 2.44.0.windows.1

Dzienniki, zrzuty ekranu, zrzuty ekranu itp

Brak odpowiedzi
@barneycarroll

Informacje dodatkowe: sampleAjest drzewem roboczym.

``

@axosoft-ramint axosoft-ramint removed the triage Needs to be looked at label May 16, 2024
@axosoft-ramint axosoft-ramint added this to the 15.1 milestone May 16, 2024
@axosoft-ramint axosoft-ramint self-assigned this May 16, 2024
@axosoft-ramint axosoft-ramint added the needs-verification Request for community verification label May 16, 2024
@axosoft-ramint
Copy link
Contributor

@gtianw Can you please verify this fix in tomorrow's pre-release edition of GitLens? Thank you so much!

You can switch to the pre-release edition of GitLens by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

image

@eamodio eamodio modified the milestones: 15.1, 15.0-patch May 16, 2024
@gtianw
Copy link
Author

gtianw commented May 17, 2024

The problem still exists in v2024.5.1605(pre-release).

@axosoft-ramint
Copy link
Contributor

@gtianw Sorry, I should be more specific - the pre-release will update approx. 9-10 hours from now. Can you try again after that? Version should be something like 2024.5.17xx

@gtianw
Copy link
Author

gtianw commented May 20, 2024

v2024.5.1905(pre-release) works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-verification Request for community verification
Projects
None yet
Development

No branches or pull requests

4 participants