![]() In order to clone, you 'll want to use a Git client application. At this point, the only files in the repository will be LICENSE and the empty README.md, but it is still necessary to do the clone so that you can create the folder where you will then add your Xojo code. This copies the repository files to a folder on your computer so you can modify its files. ![]() Now that the repository is created on GitHub, you 'll want to “clone” it to your computer. It essentially allows anyone to use your code however they want.Ĭlick the Create Repository button to create the repository. For most projects, the MIT License is a good choice. Lastly, you 'll need to choose a license. ![]() This identifies the project as using the Xojo programming language, which helps with searches and also marks the “uistate” file (which just has general information about the Xojo IDE window locations and sizes) so that it is not included in the repository. You should also select “Xojo” for the gitignore setting. This is where you 'll briefly describe the project and how to use it (using Markdown). It is always good to check “Initialize this repository with a README”, which adds an empty README file. You 'll want to leave “Public” selected as it's not really open-source if it's not public – and you actually have to pay to host private repositories on GitHub. You 'll want a separate repository for each project.īe sure to come up with a catchy “repository name” and always include a description. A repository is essentially where your project is stored. Now that you have a GitHub account, you 'll want to go to your GitHub home page and click the “New Repository” button. The Xojo text file project format works with any source control system, including Subversion, Git (including GitHub), Mercurial, CVS, Vault, Team Foundation Server or anything else. By having the changes tracked for each file, you can "commit" groups of changes to the source control system to easily tracked what was changed, by whom and when. Text files allows you to use “difference” tools (aka diff tools) to compare differences between versions of a file. Having separate files allows the source control system to track changes to individual project items. The Text project format saves each project item as a separate text file on disk. In order to use a source control system with your projects, you first want to make sure you are using the Text Project (Xojo Project) format. A source control system is able to track changes to individual files, keeping a history of the changes and allowing you to go back and look at prior versions of the file. This is also sometimes called a Version Control System. You also want to use a Source Control System.
0 Comments
Leave a Reply. |