-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
- GitLens Version: 11.3.0
- Git Version: 2.30.0
- VSCode Version: 1.54.3
- OS Version: Windows 10 version 2004, using WSL2
Steps to Reproduce:
- Set your default branch name to something other than "main"
- Create a new Git repo by running
git init - There are files to commit but no commits
- In the Source Control bar, the box at the top to type a commit message correctly states your branch name, which matches the branch you are on, shown with
git status. E.g.Message (Ctrl+Enter to commit on 'master') - However, the COMMITS tab has an indicator that says the branch, and it says
mainto the right of the word "COMMITS", regardless of your Gitinit.defaultbranchsetting. I have the setting set to something different frommainin both WSL and Windows. The name will only be shown incorrectly until a repo is cloned, then it becomes correct.
Metadata
Metadata
Assignees
Labels
needs-verificationRequest for verificationRequest for verification