This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:unix:spring2025:projects:dac0 [2025/02/04 02:15] – [How does compression differ from archiving?] tstrickl | notes:unix:spring2025:projects:dac0 [2025/02/04 23:05] (current) – [Updating current repository] tstrickl | ||
---|---|---|---|
Line 25: | Line 25: | ||
archiving doesn' | archiving doesn' | ||
====Types of compression (lossy vs lossless)==== | ====Types of compression (lossy vs lossless)==== | ||
+ | after compressing a file with a lossless technique, the original image before it was compressed should look exactly the same after it is decompressed. Lossy compression makes a file lose data everytime it is compressed and decompressed. | ||
=====Procedure===== | =====Procedure===== | ||
Line 31: | Line 31: | ||
====Checking current repository status==== | ====Checking current repository status==== | ||
+ | hg status brings up a list of all things ready to be staged | ||
====Adding untracked files to repository==== | ====Adding untracked files to repository==== | ||
+ | hg add <File name> stages files, to get ready to be commited. | ||
====Committing changes==== | ====Committing changes==== | ||
+ | hg commit -m "your message here." committing a change initializes it for a push and gives a description to the update | ||
====Pushing commits upstream to server==== | ====Pushing commits upstream to server==== | ||
+ | hg push. pushes any commits to the remote repository. | ||
====Pulling changes from server==== | ====Pulling changes from server==== | ||
+ | hg pull. pulls changes from repo, but doesn' | ||
====Updating current repository==== | ====Updating current repository==== | ||
+ | hg update. after pulling, do update to change your devices repo to update to the pulled one. |