diff --git a/usage/tips-and-tricks.md b/usage/tips-and-tricks.md index 50ceec54..fa852511 100644 --- a/usage/tips-and-tricks.md +++ b/usage/tips-and-tricks.md @@ -76,7 +76,7 @@ To merge all given yaml files into one, use the `reduce` operator with the `*` ( yq ea '. as $item ireduce ({}; . * $item )' file1.yml file2.yml ... ``` -# Merge an array of objects by key +## Merge an array of objects by key See [here](https://mikefarah.gitbook.io/yq/operators/multiply-merge#merge-arrays-of-objects-together-matching-on-a-key) for a working example.