View previous commit

I'm missing something.

I have a project in Xcode 16.2. I have made two commits. I did not tag the commits. I need to compare what is in the first commit to the current state of a file. The instructions say that when comparing files there is a button at the bottom to select the commit to compare with, but I can't find that button. It looks like I can only compare the current state of the file with the last commit.

Answered by MarkErbaugh in 826189022

I figured it out. Xcode only shows revisions where the file was changed. So for example if the file was added in revision 10 and not changed until revision 13, those are the only two revisions that show up in the choices.

Accepted Answer

I figured it out. Xcode only shows revisions where the file was changed. So for example if the file was added in revision 10 and not changed until revision 13, those are the only two revisions that show up in the choices.

View previous commit
 
 
Q