Allow customizable branch name
See original GitHub issueSome repos now use the name main instead of master. This project seems to assume that the primary branch is named master. I’d like to request that the name of the primary branch be customizable.
For example:
$ git-delete-squashed --into main
$ git-delete-squashed --into primary
$ git-delete-squashed --into dev
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:6
Top Results From Across the Web
Customize branch name when using create branch in an issue
Customize branch name when using the create branch button in an issue. The default name is shown. You can change it something else....
Read more >Add Enforceable Custom Branch Naming Rules
We need to restrict users to create new branch names with special characters in it. The branch name should only allow hyphen or...
Read more >Be able to customize the branch name when starting work on ...
This allows you to customize the branch name, the default is "githubIssues.workingIssueBranch": "${user}/issue${issueNumber}" ...
Read more >How to set up Git branch protection rules - Spectral
Branch Name – Name of the branch to be protected. · Allowed To Merge – You can select the role that is allowed...
Read more >Change branch name when running custom build in Teamcity
If you are want to start build with custom branch then press Run... -> Changes -> select your custom branch from Build Branch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI: I’ve published forked package
@teppeis/git-delete-squashed
supporting formain
or other custom default branches. https://github.com/teppeis/git-delete-squashed#guessing-default-branch-difference-from-originalIt seems that git-delete-merged-branches may support this, including for squashed merges.