Re: [go-cd] Config Repos Master vs Main

15 views
Skip to first unread message

Chad Wilson

unread,
Oct 20, 2022, 8:31:00 PM10/20/22
to go...@googlegroups.com
That same view has a field the for the branch where you can set whatever you'd like. Sometimes it's collapsed into 'advanced settings' in some material setup places.

So this should already be possible?

-Chad

On Fri, 21 Oct 2022, 07:32 Ross G, <rossco...@gmail.com> wrote:
I have created a new blank repo in Google Source Repositories & pushed an initial commit (just a README.md)

Trying to point Configuration Repositories at it fails with
The ref refs/heads/master could not be found.

Screen Shot 2022-10-21 at 10.28.57 am.png

Google Source Repositories does not use 'master' it uses 'main'

I can work around it by creating a branch called master
git branch -M master

But would be good if 'main' worked too - is this something that can be added to GoCD?

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/1d7df62b-c406-4e2c-9330-ef8879eaa218n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages