4

How is it possible to view two different files on two different git branches in Xcode? I have renamed one of my class and also added new logic to it. And now I would like to see together the two file in the left and right panel. Meantime I created and checked out a new branch and committed changes.

János
  • 29,667
  • 30
  • 151
  • 300

1 Answers1

3

No, this isn't possible, but there are ways of getting the file's contents using the git command line. See the following SO questions:

Community
  • 1
  • 1
trojanfoe
  • 118,129
  • 19
  • 204
  • 237
  • Also see here: http://stackoverflow.com/questions/4099742/how-can-i-compare-files-from-two-different-branches – mfaani Sep 01 '16 at 09:25