3
I have two projects in PHP: one is a store in Rio, and another is the store in São Paulo. Basically, the SP is at the root, and the Rio is "almost" as a clone of the SP project. Each project is presented in one way, the river one is being loaded in a subfolder river which is loaded into the domain, and the other picks up right from the root of the site. (I did this dynamic, using a linux command, to point the project through a symbolic link:
[user@maquina projeto]/loja-SP/ (master)$ ln -s ../loja-RJ/ rio
)
to better illustrate, projects are accessed like this:
/store-RJ/ (master) -> www.lojaxyz.com.br/rio
/store-SP/ (master) -> www.lojaxyz.com.br/
I would like to compare them to see the divergences, to treat an error that is occurring only in the river. But each one is in a different Git repository. I’d like something like this:
fictional example: git /loja-RJ/ diff ../loja-SP/ name-only--
Does it need to be with Git? This looks like work for a diff.
– Pablo Almeida
No need, I just want to see the difference between some files of both projects, is it possible, without having to pick up file by file? I use the Phpstorm IDE. And I’m having to review file by file with "Compare With Clipboard". Only it’s a lot of file... besides controllers, classes, overrides, templates, helpers...
– Ivan Ferrer
I’m seeing now, if this would be the solution.
– Ivan Ferrer
Apparently, the above solution solved my problem.
– Ivan Ferrer
Make a response detailing how the process went. This can help anyone else who has this problem.
– Pablo Almeida