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
This is as much a question as an issue. All repositories created in the last two years on GitHub (and many more have changed to) use 'main' as the default branch, however Update-AllBranches defaults to 'master'. Is there a reasonable way to make the default something like the result of (git branch --remote --list '*/HEAD') -split '/' | select -last 1. This would, theoretically, allow for master branches named stage or jabberwocky or any manner of strangeness that the repository owner chose
The text was updated successfully, but these errors were encountered:
System Details
Issue Description
This is as much a question as an issue. All repositories created in the last two years on GitHub (and many more have changed to) use 'main' as the default branch, however
Update-AllBranches
defaults to 'master'. Is there a reasonable way to make the default something like the result of(git branch --remote --list '*/HEAD') -split '/' | select -last 1
. This would, theoretically, allow for master branches named stage or jabberwocky or any manner of strangeness that the repository owner choseThe text was updated successfully, but these errors were encountered: