| 1 | ## merge3 |
| 2 | |
| 3 | [Alpha] Merge diff of Resource configuration files into a destination (3-way) |
| 4 | |
| 5 | ### Synopsis |
| 6 | |
| 7 | [Alpha] Merge diff of Resource configuration files into a destination (3-way) |
| 8 | |
| 9 | Merge3 performs a 3-way merge by applying the diff between 2 sets of Resources to a 3rd set. |
| 10 | |
| 11 | Merge3 may be for rebasing changes to a forked set of configuration -- e.g. compute the difference between the original |
| 12 | set of Resources that was forked and an updated set of those Resources, then apply that difference to the fork. |
| 13 | |
| 14 | If a field value differs between the ORIGINAL_DIR and UPDATED_DIR, the value from the UPDATED_DIR is taken and applied |
| 15 | to the Resource in the DEST_DIR. |
| 16 | |
| 17 | For information on merge rules, run: |
| 18 | |
| 19 | kustomize cfg docs-merge3 |
| 20 | |
| 21 | ### Examples |
| 22 | |
| 23 | kustomize cfg merge3 --ancestor a/ --from b/ --to c/ |