Argo CD 3 · Applications
Turn on automated sync
Sync automatically when Git changes. prune deletes resources removed from Git, and selfHeal reverts manual changes.
argocd app set guestbook --sync-policy automated --auto-prune --self-heal
Official Argo CD 3 documentation