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 commit or fetch/pull commits when there is a tag with the same name as the current branch #3980

Open
victor-homyakov opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working triage Needs to be looked at

Comments

@victor-homyakov
Copy link

Description

  1. In a git repository create a branch, e.g. release-1.1, and switch to it.
  2. Make some commits, and push them to the remote repository.
  3. Now on the remote side (e.g. on GitHub) create a tag with the same name release-1.1 on the last commit from this branch.
  4. VSCode - GitLens - stay on the branch release-1.1 and Fetch/pull from remote.
  5. After that GitLens does not see any newer commits created on the remote side, and cannot push to the remote.

GitLens Version

16.2.1

VS Code Version

Version: 1.96.4
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0

Git Version

git version 2.39.5 (Apple Git-154)

Logs, Screenshots, Screen Captures, etc

No response

@victor-homyakov victor-homyakov added bug Something isn't working triage Needs to be looked at labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant