You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set the default branch name to be something other than master on the a newer version of git (v 2.28 or newer), then when RStudio sets up a new project directory with git CVS, there are no branches available.
Describe the behavior you expected
I expect the git repo to be present with a "main" branch to commit to.
I will note that it doesn't keep one from committing using the git pane, and as soon as a commit is made, the display updates to the "main" branch. So I'm not sure how much of an actual "issue" it is, except that I expected to see a branch name there, and I'm pretty sure when it was "master" it showed up find the first time.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
System details
Steps to reproduce the problem
git config --global init.defaultBranch main
git init
to verify that git itself is working properly and sets up a "main" branchInstalling Up-to-date Git version
Describe the problem in detail
If you set the default branch name to be something other than master on the a newer version of git (v 2.28 or newer), then when RStudio sets up a new project directory with git CVS, there are no branches available.
Describe the behavior you expected
I expect the git repo to be present with a "main" branch to commit to.
The text was updated successfully, but these errors were encountered: