User Tools

Site Tools


notes:c4eng:fall2023:projects:gtf0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng:fall2023:projects:gtf0 [2023/09/07 17:35] – [GRABIT] nbutler5notes:c4eng:fall2023:projects:gtf0 [2023/09/07 17:56] (current) – [REPOSITORY STEPS] nbutler5
Line 20: Line 20:
  
 =====REPOSITORY STEPS===== =====REPOSITORY STEPS=====
 +
 +The first step in adding files to the repository is being in the folder where the files you want to add are in. Once you've "cd"-ed into the desired folder write the command below.
 +<code/>hg add</code>
 +
 +After you've added the files, then you want to commit them. This can be done using the command below. Once the command has been entered it will take you to a nano window.
 +<code/>hg commit</code>
 +
 +In the nano window you will want to "officially" commit your files with the command below, which also has a message associated with the commit for future reference. Example of message could be "version 3 of gtf0".
 +<code/>hg commit m-"message"</code>
 +
 +After exiting and saving the nano window write the following command in the terminal to push your files to the repository server. In the terminal it will show you that the files have been added. 
 +<code/>hg push</code>
 +
 +To verify you can preform the following commands that will provide info on your "commits/pushes" in the terminal. 
 +<code/>hg status
 +
 +and/or
 +
 +hg log</code>
  
 =====BUILD THE CODE===== =====BUILD THE CODE=====
notes/c4eng/fall2023/projects/gtf0.1694108123.txt.gz · Last modified: 2023/09/07 17:35 by nbutler5