User Tools

Site Tools


notes:unix:fall2024:projects:dac0

This is an old revision of the document!


DAC0 project documentation

Toolbox

It would be especially useful to review the manual pages or any documentation on the following resources:

  • ls(1) - description of what the command does

Background

What is an archive

An archive is a single file that contains many file making it much easier for to move a bunch of files instead of moving them one at a time. It will effectively keep copies of your files in one place. They can also be compressed to reduce the overall size. In short they are very useful. -c will create well -f specifies the name of the archive file.

What actions can be performed on an archive?

What is compression

How does compression differ from archiving?

Types of compression (lossy vs lossless)

Procedure

Repository Operations

Checking current repository status

Adding untracked files to repository

After creating a file that you want to be tracked, you will run the command: 'hg add'

Committing changes

After adding any untracked files you will run the command 'hg commit -m “sample text” ' which will save any changes made

Pushing commits upstream to server

After running 'hg commit -m' you will need to push the changes by executing 'hg push'

Pulling changes from server

After executing 'hg push' you will then use the command 'hg pull' which will pull the files

Updating current repository

After 'hg pull' it will prompt you to then update the repo by using the command 'hg update'

notes/unix/fall2024/projects/dac0.1726113395.txt.gz · Last modified: 2024/09/12 03:56 by bwebste7