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
I was trying to use publish-to-git the following way
npx publish-to-git --tag v0.1.0 --force
and got the following error:
Command failed: git tag -f v0.1.0 tmp-7912hXj19g7JM1tP/master
fatal: Failed to resolve 'tmp-7912hXj19g7JM1tP/master' as a valid ref.
Upon inspection of the tmp repo that is created inside the tmp dir, I noticed that git creates a branch named main by default, not master anymore, which can be the cause of this issue. See this line.
The text was updated successfully, but these errors were encountered:
I was trying to use publish-to-git the following way
and got the following error:
Upon inspection of the tmp repo that is created inside the tmp dir, I noticed that git creates a branch named
main
by default, notmaster
anymore, which can be the cause of this issue. See this line.The text was updated successfully, but these errors were encountered: