12

How to see a list of all changed files (pending stage & commit) with Xcode 9?

I don't see an option in Source Control Navigator (keyboard shortcut: command-2) or Source Control menu option.

List of files corresponding to git status command on terminal. Also, if possible git diff --staged.

Please add a keyboard shortcut if any.

lal
  • 7,410
  • 7
  • 34
  • 45

2 Answers2

19

The closest thing Xcode has is a button at the bottom of the project navigator to show only files with source-control status. Clicking the button shows files that have uncommitted changes.

enter image description here

Swift Dev Journal
  • 19,282
  • 4
  • 56
  • 66
7

As Mark answered you can filter all the modified files, after that don't forget to turn on Comparison, so you can see where the code got changed.

enter image description here

Developer Sheldon
  • 2,140
  • 1
  • 11
  • 17