In my case, regardless of the new value for spring.cloud.config.server.git.uri
, the warning reported an old URL which was present in the file {basedir}/.git/config
.
To get rid of the warning I had to remove the {basedir}
folder and restart the container.