COMP 206 Lecture Notes - Lecture 36: Distributed Version Control, Version Control, Mkdir
Document Summary
Git and mercurial are more modern version control systems. There may be two people who want to work on a project, so imagine two terminals,with person a and person b. The very first thing they do is hg init, if they have decided to share a code with another person. The program called hg, which is an acronym for mercurial, which is a distributed version control system, is going to start tracking the files that you create. Person a $ >> echo 1234567 > first_file. txt. Person a $ >> hg commit -m first file. -u dmeger. Person a makes this file, and wants the other person to see it. Hg add says here is a new file that i want mercurial to track. When you add files or change them, you also have to commit. 1 files updated, 0 files merged, 0 files removed, 0 files unresolved.