-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🐛 Use any default branch instead of master
#243
Conversation
master
master
This also solves one specific scenario explained on #37 (comment) |
Any idea when this PR will get merged |
@fregante Could you modify the readme of your repo to add installation directions. Now it says npm i -g degit. It should say degitto to make it clear. Also, this might just be an issue for me. But after installing I needed to add shebang |
If anyone would like to maintain a fork, please do. Degitto is meant to be temporary and only fixes this issue. I’ll probably rewrite only the part I need and merge into my GitHub Actions Templating project rather than keep degit/degitto as a dependency. |
* main and other default branches work, not just master Rich-Harris/degit#243 * Use rimrafSync instead of rm -rf in --mode=git Rich-Harris/degit#191 * Updated dependencies * Forked to tiged, community driven fork of degit
@fregante @paulocoghi @rajasegar @Rich-Harris I started a community driven fork that has this PR included among other fixes. https://github.com/tiged/tiged If you want to use the fork. Simply run:
Then you can just use it like you used to. |
Thank you! And apologies for the long delay. Released as 2.8.1 |
as updated by Rich-Harris#243
Replaces and closes #235
Replaces and closes #204
Fixes #207
Fixes #37
Fixes #254
Closes #242
The solution is simple if you detach yourself from
master === default
and instead use the HEAD as the right terminology in a remote server.This could alternatively internally referred to as
<default>
instead ofHEAD
, but I like minimal-impact PRs.Also available in the https://github.com/tiged/tiged community fork