Am looking for how to set up file compare/diff in Xcode 4, but have run into brick wall. Anyone can tell me how to do it?
Right-click on the first file. Click on “Select for Compare” from the menu. Proceed to right-click on the second file. Click on “Compare with Selected.
Yes you can compare file wise, just go to that specific file where you want to see modified changes by other branch. on left side, select your own branch and on right side, select branch which has done modifications. Then you can compare by commits, listed time wise just beside branch name.
To start a comparison, click the File module and select your files from Finder. Meld will display them side-by-side. Any differences between them appear highlighted to make individual changes easier to see. On either side of the panels, you'll see two vertical bars with colored blocks.
If you're looking for comparing two different files (instead of comparing two versions of the same file), you can use the FileMerge tool included with Xcode. Spotlight can find it for you.
Richard Brightwell's answer is correct, although it threw me a bit as there is a step missing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With