'Commit to Branch' XCode 中的选项 6
'Commit to Branch' option in XCode 6
在 XCode 的早期版本中,提交页面上有一个名为 Commit to Branch
的选项,当您在特定分支中对代码进行过多操作而没有这样做时,它确实很有帮助想将它提交到同一个分支,也不想丢失您编写的所有代码。
我在 XCode 中找不到这个选项 6. 它是否仍然隐藏在某个地方,或者他们已经删除了它?
摘自 Apple IOS 开发者库 "Save and Revert Changes" 部分
Create a Branch to Isolate Risky Changes
After you’ve worked on a project for a while, you are likely to have a
body of reliable, stable code. You can choose Source Control > Working
Copy > New Branch to create a copy of that code. Then you can work on
new features and other changes without destabilizing your existing
code base. When you are satisfied with your changes, you can merge
them back into the body of stable code. Use Source Control > Working
Copy > Merge from Branch and Source Control > Working Copy > Merge
into Branch to combine and reconcile differences between versions of
your project.
在 XCode 的早期版本中,提交页面上有一个名为 Commit to Branch
的选项,当您在特定分支中对代码进行过多操作而没有这样做时,它确实很有帮助想将它提交到同一个分支,也不想丢失您编写的所有代码。
我在 XCode 中找不到这个选项 6. 它是否仍然隐藏在某个地方,或者他们已经删除了它?
摘自 Apple IOS 开发者库 "Save and Revert Changes" 部分
Create a Branch to Isolate Risky Changes
After you’ve worked on a project for a while, you are likely to have a body of reliable, stable code. You can choose Source Control > Working Copy > New Branch to create a copy of that code. Then you can work on new features and other changes without destabilizing your existing code base. When you are satisfied with your changes, you can merge them back into the body of stable code. Use Source Control > Working Copy > Merge from Branch and Source Control > Working Copy > Merge into Branch to combine and reconcile differences between versions of your project.