coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Cannot clone repos with branch named master

Open devdilson opened this issue 1 year ago • 4 comments

Error Message and Logs

The error message is "Cloning into '.'... fatal: Remote branch main not found in upstream origin"

Steps to Reproduce

  1. Create a new app that has only "master" branch such as sentry https://github.com/getsentry/self-hosted/tree/master
  2. Change the branch under Source to "master"
  3. Try to load the docker compose file.
  4. The error appears and it ignores the configuration in Source.

Example Repository URL

No response

Coolify Version

https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.379

Are you using Coolify Cloud?

Yes (Coolify Cloud)

Operating System and Version (self-hosted)

No response

Additional Information

No response

devdilson avatar Dec 15 '24 13:12 devdilson

+1 Still present in beta.380

mallegrini avatar Jan 05 '25 11:01 mallegrini

I think i had the same issue too. I managed to make it work by clicking the "save" button in the source tab twice, when i changed the branch. And reloading the whole page after that

Julhol-droid avatar Jan 15 '25 09:01 Julhol-droid

I think i had the same issue too. I managed to make it work by clicking the "save" button in the source tab twice, when i changed the branch. And reloading the whole page after that

yep that works lol

lucasnribeiro avatar Jan 15 '25 14:01 lucasnribeiro

Closing old issue.

andrasbacsai avatar Sep 11 '25 08:09 andrasbacsai