Xcode 13.2 - How to hide git changes in the code editor?
Asked Answered
U

3

17

In the latest release of Xcode 13.2, there has been a new feature, which allows us to see both old new versions of a line. In my opinion, it's kind of difficult to navigate with this feature enabled. Does anyone know how to turn it off?

Upstroke answered 15/12, 2021 at 21:36 Comment(1)
"kind of" is an understatement. I find it very difficult to navigate and edit with this enabled.Myth
S
40

Icon in the top right with two arrows pointing in opposite directions

Try these arrow press, it will hide the past code.

Sunglass answered 20/3, 2022 at 9:23 Comment(1)
Thank you! Such a relief to disable that.Mayotte
U
14

Found it! There is an arrows icon at the top of the editor, which toggles this "code review" mode

Upstroke answered 15/12, 2021 at 22:0 Comment(0)
L
4

or you can use this shortcut "Show Code Review" or "Hide Code Review"

shift + opt + cmd + return

enter image description here

Logography answered 17/5, 2022 at 6:18 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.