![]() ![]() Team > Git > Initialize Repository from the IDE's main menu. Versioning > I nitialize Git Repository from the node's context menu. In the Projects window, select an unversioned project and choose either: The IDE enables you to initialize a Git repository from existing files that are not in source control yet. You can clone this local copy as often as you like, and when you want to you can push your changes back to the original repository provided you have permissions, or export your changes and send them to the owner if you do not.įor further documentation on the Git support and Git itself, see the following resources: This clone is a complete copy of the repository including the revision history. Since Git is a distributed revision control system, you typically begin by cloning an external repository to work with. Enables you to view revision and author information for each line of version-controlled files. Enables you to view the current status of version-controlled files.Īnnotations. ![]() The IDE provides several file status information tools that simplify the process of working with version-controlled files, including:Ĭolor Coding. The rest of this chapter describes how each of the version control systems (Git, Subversion, and Mercurial) apply these principles to the practice of versioning applications, and also include information on available tools for working in a file's local history. To help prevent making conflicting changes to a source file, version control typically uses a workflow similar to this:Įach user updates a file before working on it, to ensure starting with the latest changes and revisionsĮach user checks out (or locks) the file to prevent other team members from conflictĪfter making changes (and verifying them in a local build or other method), the user checks in (or commits) the file to the team's shared repositoryĪlthough these techniques help prevent conflicting changes being made to the team's shared files, version control systems also contain tools for resolving conflicts and for reverting to previous versions in the case of problems with newly introduced material. Versioning applications with version control is a method of coordinating the efforts of multiple team members, sometimes at different locations in an organization, in a way that avoids problems that can arise when different people may be working on the same application. 3.1 About Versioning Applications with Version Control ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |