Reputation: 1599
During a commit in Xcode, I can write a commit message. Is it somehow possible to write a commit message per file that is changed? Of course I am not changing all the project files at once all the time and it would be convenient that each file has it's own change log. Right now all files get the same change log and I have to mention which change effected which file.
Upvotes: 2
Views: 702
Reputation: 43364
Right now all files get the same change log and I have to mention which change effected which file.
If you just want to be able to tell which files were changed in a change(commit) you can
Open a terminal, navigate to the project directory and do
$ git log --name-only
This gives an overview of which commit affected which files. This can of course be narrowed down to show it for a specific commit
$ git log commitHash --name-only
Via Xcode
Open the Source Control menu and select history
The commit log is now shown. Click on any commit's Show X modified files to see a list of files that were changed, and a full diff.
Diff snapshot:
Upvotes: 2