Closed jonniedie closed 1 year ago
The easy workaround is obviously not to use push = true
in the call and do the push to your branch of choice yourself.
As for getting the default branch name I remember having trouble finding a nice solution in the past, but it could be that I didn't look hard enough.
This line is hard-coded to use
master
, but it is becoming more popular to have default branches other thanmaster
. Is there a way to get the default branch name and use that?