官术网_书友最值得收藏!

Source control

Source control is widely used by large teams and individual developers alike. It provides an extremely useful way to track changes to code and revert back to stable builds of a project with version control. Teams of developers may work separately on individual components by creating and managing a copy of the code (called a branch) without overwriting another team member's code. The change will later be merged while simultaneously tracking all the changes made to the code base.

Source control is not a new feature of Xcode 5; however, Apple has decided to provide easier access to its functionality by creating a top-level menu item. Selecting it will display a drop-down menu with one-click access to most of the source control commands, such as commit, push, and pull. Hovering over Working Copies will open a new submenu that allows you to switch between branches, create a new branch, or merge branches. The following screenshot shows this submenu:

Source control

In addition to local source control on your computer, Xcode 5 also supports the ability to connect directly to remote repositories hosted on popular sites, such as GitHub. Open preferences and navigate to the Accounts tab once again. This time, after clicking on the + button, select Add Repository. Once you have entered the proper repository address, Xcode 5 will connect the repository, thus allowing you to access it remotely.

主站蜘蛛池模板: 信宜市| 卢龙县| 渭源县| 阳西县| 平陆县| 综艺| 农安县| 湟源县| 东光县| 闽清县| 民勤县| 东山县| 崇左市| 印江| 玉田县| 元谋县| 安溪县| 株洲县| 昭觉县| 汤原县| 凌云县| 新巴尔虎左旗| 乾安县| 文山县| 兴城市| 淳安县| 深州市| 曲麻莱县| 江门市| 阿坝县| 英德市| 彭州市| 天柱县| 闵行区| 江川县| 岢岚县| 西青区| 余干县| 洪湖市| 广东省| 万荣县|