Merge two YAML files yq

Deep-merge two YAML documents

yq eval-all 'select(fileIndex==0) * select(fileIndex==1)' base.yaml override.yaml
#yq