User Tools

Site Tools


haas:spring2020:cprog:projects:cci0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
haas:spring2020:cprog:projects:cci0 [2020/01/19 14:41] – [Submit Tool Usage] wedgehaas:spring2020:cprog:projects:cci0 [2020/01/19 14:45] (current) – [Personal/Per-User Lab46 Mercurial Repository] wedge
Line 89: Line 89:
 Like the Journal, I will be looking for a minimal amount of repository-related activity PER WEEK. Like the Journal, I will be looking for a minimal amount of repository-related activity PER WEEK.
  
-To set up your repository, run the "fixrepo" script.+To set up your repository, run the "fixrepo" script
 + 
 +<cli> 
 +lab46:~$ fixrepo 
 +</cli> 
 + 
 +For basic repository operation, when you make new files you'd like to track, or see the status of any tracked files that have changed: 
 + 
 +<cli> 
 +lab46:~$ cd src 
 +lab46:~/src$ hg status 
 +A .hgignore 
 +lab46:~/src$  
 +</cli> 
 + 
 +Once cloned (to your ~/src directory), you will be able to add, commit, and push changes made: 
 + 
 +<cli> 
 +lab46:~/src$ hg add 
 +lab46:~/src$ hg commit -m "brief message describing the changes" 
 +lab46:~/src$ hg push 
 +</cli> 
 + 
 +On the push, you will be prompted to provide your lab46 password. 
 + 
 +And that's it! Repeat this process (NOT the 'fixrepo'; only do that once) for any changes you make to your repository.
 ====Program to Implement==== ====Program to Implement====
 As a first week exercise, I would like you to implement, successfully compile, and verify correct execution of the best first program every great programmer writes: **Hello World** As a first week exercise, I would like you to implement, successfully compile, and verify correct execution of the best first program every great programmer writes: **Hello World**
haas/spring2020/cprog/projects/cci0.1579444869.txt.gz · Last modified: 2020/01/19 14:41 by wedge