Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select all changes in Xcode 9 Commit

Tags:

git

xcode

I am using Cocoa pods for my Xcode project and there are lots of files in each of the modules, and I just ran a pod update and there are a TON of changes in my Source Control -> commit tab. Is there anyway to select all the changes instead of going through them one by one as it would take forever? I tried the classics like Shift-Click and others but they did not work.

like image 823
brettfazio Avatar asked Sep 13 '17 22:09

brettfazio


People also ask

How to see code changes in Xcode?

To compare changes in one source file, open the file and click the Enable Code Review button in the upper-right corner of the Xcode window. The comparison view highlights changes between the current source code and the most recent commit.

How do I see commit history in Xcode?

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.

How do I stash changes in Xcode?

Choose Source Control > Stash Changes, and optionally enter a description of your changes. Xcode creates a stash entry with your changes and removes those changes from the current working environment so that you can switch branches or start working on other changes.

How do I commit in Xcode?

The shortcut to commit in Xcode is “option + command + c”. This will bring up the window you see below.


1 Answers

Right click at any file and then select "Check All"

like image 149
benmore99 Avatar answered Sep 20 '22 15:09

benmore99