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.
View a History of Project States Xcode has a commit history view that lets you view historical changes for your source control repository when you're investigating a bug or adding code for a new feature. Open the Source Control navigator. In the Repositories navigator, expand your repository and the Branches folder.
Select the file for which you want to see the commit history. Then go to View > Version Editor > Show Version Editor (or just select the Comparison view from the top-right toolbar icon - same place as the Blame view). Clicking on the commit label below the editor will reveal the history including dates.
Click and hold on the Version Editor button and select Log. You can also choose View\Version Editor\Show Log View from the menu. Xcode will list the commits that contain changes to the current file.
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.
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.
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