Force-pull property

There is a force-pull property provided and by default it is false. You can make it true to avoid making your local repository dirty. Let's look at the following configuration:

spring: 
 cloud: 
   config: 
     server: 
       git:  
      uri: https://github.com/dineshonjava/app-config-repo 
         username: arnav 
         password: sweety 
         force-pull: true 

Let's see how to implement the Spring Cloud Config Client application in the next section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.239.166