如何在我的 Xcode 项目中查看整个 SCM 历史记录?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3045937/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I see the entire SCM history in my Xcode project?
提问by Erik B
If I look at the SCM tab in Get Info for my project I only see the commits that affected the project file. Where can I get a list of all the commits for the entire project?
如果我查看项目的获取信息中的 SCM 选项卡,我只会看到影响项目文件的提交。我在哪里可以获得整个项目的所有提交的列表?
采纳答案by Eilif
Xcode 4: go to Organizer (top right), Repositories, choose repository, there it is.
Xcode 4:转到管理器(右上角),存储库,选择存储库,就在那里。
回答by cober
In Xcode 5 you can choose View > Navigators > Log. From here you can see each of your Updates and Commits in the left pane for actions that have happened since opening the project.
在 Xcode 5 中,您可以选择“查看”>“导航器”>“日志”。从这里您可以在左窗格中看到每个更新和提交,以了解自打开项目以来发生的操作。
For a general history choose Source Control > History… This will bring up something similar that what Xcode 4 had in the organizer.
对于一般历史,选择 Source Control > History... 这将显示类似于 Xcode 4 在组织器中的内容。
回答by Jadent
I was having a similar problem viewing the entire SCM history (Subversion in this case) when viewing the Repositories tab in the Organizer from XCode 4.02 where I could only see revisions for the selected folder in the History pane, and revisions from sub directories would not be shown.
从 XCode 4.02 查看 Organizer 中的 Repositories 选项卡时,我在查看整个 SCM 历史记录(在这种情况下为 Subversion)时遇到了类似的问题,我只能在“历史记录”窗格中看到所选文件夹的修订,而来自子目录的修订不会被展示。
In order to see the full history (i.e. the visual equivalent of 'svn log' on the project) you need to select either the Repository Root (purple icon) or a Branch (yellow icons) for your project.
为了查看完整的历史记录(即项目上“svn log”的视觉等价物),您需要为您的项目选择存储库根(紫色图标)或分支(黄色图标)。
After selecting either of these icons the history pane should now show all revisions, including revisions to sub directories, which would not otherwise be shown if a Working Copy (blue icon) is selected in the left hand pane.
选择这些图标中的任何一个后,历史窗格现在应该显示所有修订,包括对子目录的修订,如果在左侧窗格中选择了工作副本(蓝色图标),则不会显示这些修订。