![]() ![]() The comments also help you to find the right earlier version if you need to undo something. When you look at the repository history, the comments help you understand how the project has changed and grown through time. The revisions are also annotated with a comment describing the changes that occurred between that revision and the one before it. Each revision in the repository history contains a complete snapshot of your project’s working directory at a given point in the past. ![]() That directory and its files would be your working directory, which might look something like this: Documents/ fall2009/ CS2251/ assignment1/ assignment goals.txt me.jpg my first web page.html The repository is where the real magic happens: it tracks the history of your changes to the working directory. working directory: the editable copy of the files in a version control system For example, suppose you were working on an assignment for your web class and had created a folder to hold the assignment’s files. The working directory is the copy of the files you make changes to it is just a normal folder with normal files that are viewed and modified the same way as if you were not using version control. The two main concepts in a version control system are the working directory and repository. 2Ĭoncepts and Terms Before we start using version control, let’s take a moment to explore the key concepts and terms you’ll need to know. Hg is the chemical symbol for the element mercury. We’ll be using the TortoiseHG* version of Mercurial, a powerful yet easy to use modern version control system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |