- Learning Xamarin Studio
- William Smith
- 338字
- 2021-09-03 10:01:24
Setting up source control
Xamarin Studio comes equipped with integrated source control, including support for both subversion and Git-based repositories. Even if you don't intend to use the integrated source control features of Xamarin Studio, I still recommend that you set it up so your Solution Explorer can reflect the current version control state of the files in your project.
Whether you are using subversion or Git, if you are running on a Windows machine, you will need to install the respective plugin. Also, each option requires access to an outside repository. Refer to your source control provider's documentation for instructions on setting up an account and installing any required plugins.
Once your development machine is ready to support your choice of source control, the process of setting it up in Xamarin Studio differs only slightly between subversion and Git. Since I use Git for all of my projects, I will demonstrate setting up a Git repo within Xamarin Studio by using the following steps:
- Within Xamarin Studio, go to Version Control | Checkout.
- Select the Connect to Repository tab.
- From the Type drop-down list, choose Git.
- In the Url field, enter the URL to your repository.
- If the repository you have chosen is a valid Git repo, all of the remaining fields will populate automatically. Otherwise, complete the remaining fields as required.
- At the bottom of the form, choose a target directory for your local working copy.
- When you are done, your dialog box should resemble the following screenshot:
- Click OK.
- Enter your repo credentials when prompted.
- After your repository finishes downloading, you can close the dialog box.
Tip
Although I use BitBucket for my projects, there are other excellent Git providers available including GitHub, CodeBase, and many more. Be sure to research what each provider offers in the way of services and cost before making your decision, though. Once you select a source control provider you'll find that your choice becomes embedded in the life of your project, and changing it is not a simple matter.
- Unity 2020 By Example
- Learning Apex Programming
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發 (未來書庫)
- Swift細致入門與最佳實踐
- Webpack實戰:入門、進階與調優
- MongoDB,Express,Angular,and Node.js Fundamentals
- 小型編譯器設計實踐
- Qt5 C++ GUI Programming Cookbook
- Hadoop 2.X HDFS源碼剖析
- Simulation for Data Science with R
- Appcelerator Titanium:Patterns and Best Practices
- 微前端設計與實現
- 金融商業數據分析:基于Python和SAS
- Java EE實用教程
- C/C++代碼調試的藝術