$ tail -n99 *.yaml
==> base.yaml <==
image: nginx:1.29
replicas: 1
==> local.yaml <==
image: nginx:1.30
replicas: 1
==> remote.yaml <==
image: nginx:1.29
replicas: 2
$ diff3 local.yaml base.yaml remote.yaml
====
1:1,2c
image: nginx:1.30
replicas: 1
2:1,2c
image: nginx:1.29
replicas: 1
3:1,2c
image: nginx:1.29
replicas: 2
$ diff3 -m local.yaml base.yaml remote.yaml
<<<<<<< local.yaml
image: nginx:1.30
replicas: 1
||||||| base.yaml
image: nginx:1.29
replicas: 1
=======
image: nginx:1.29
replicas: 2
>>>>>>> remote.yaml
$ diff3 -mE local.yaml base.yaml remote.yaml
<<<<<<< local.yaml
image: nginx:1.30
replicas: 1
=======
image: nginx:1.29
replicas: 2
>>>>>>> remote.yaml