k8wiz
Argo CD
Medium
CLI Usage

Which `argocd repo list` option forces a refresh of the repository connection status?

Select your answer:

Show answer and explanation

Answer: --refresh hard

Explanation

Argo CD caches the connection status of each repository. --refresh hard makes 'argocd repo list' test every connection again, which helps after you change credentials.

Read more about Argo CD