Closed olivernybroe closed 3 years ago
@olivernybroe Are you able to provide a way for me to reproduce?
@andrewrynhard hmm, I'll try and make a branch for reproducing it here next week 👍
@andrewrynhard Alright, so the issue seems to not have the default branch named master
.
I cloned this repo and reproduced it here on my main branch https://github.com/olivernybroe/conform
Ah. Ok. I can look into getting support for main
.
@andrewrynhard awesome, yeah so it's basically a general issue related to the branch not pointing on a branch named master
👍
In my workplace we for some reason have the default branch named develop
🤣
@olivernybroe looks like we have support for specifying the branch... please try passing in --commit-ref=develop
(or main
).
@andrewrynhard Alright cool that works, am I misunderstanding or we cannot set this via config file right?
Doesn't look like it. But that isn't a bad idea.
@olivernybroe I am going to close this, and create an issue to note the config changes.
So I am trying to setup conform and I keep getting this error when running it.
I am right now in a branch from our default branch, and I have the full git history locally