Description It's been a while since github changes 'master' branch name to 'main'. It seems like whatever I try config server tries to pull from branch name 'master' so that we get the error message 'Ref master cannot be resolved'. I put spring.cloud.config.server.git.default-label: main, I got no success.

Sample

spring:
  cloud:
    config:
      server:
        git:
          uri: private-repo-url
          default-label: main
          username: uname
          password: pwd
          clone-on-start: true

I have registry.yml on my repo. When I try to URL/registry/default/main, or either URL/registry/default I get the above exceptions.

Comment From: ryanjbaxter

It's just printing a warning message most likely. Does the config server still work, can it serve the configuration?

Comment From: spring-cloud-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.