User Tools

Site Tools


notes:unix:spring2025:projects:dac0

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:unix:spring2025:projects:dac0 [2025/02/04 23:01] – [Checking current repository status] tstricklnotes:unix:spring2025:projects:dac0 [2025/02/04 23:05] (current) – [Updating current repository] tstrickl
Line 33: Line 33:
 hg status brings up a list of all things ready to be staged 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>+hg add <File name> stages files, to get ready to be commited.
 ====Committing changes==== ====Committing changes====
-hg commit -m "your message here"+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+hg push. pushes any commits to the remote repository.
 ====Pulling changes from server==== ====Pulling changes from server====
-hg pull+hg pull. pulls changes from repo, but doesn't go into effect immediately.
 ====Updating current repository==== ====Updating current repository====
-hg update+hg update. after pulling, do update to change your devices repo to update to the pulled one.
notes/unix/spring2025/projects/dac0.1738710110.txt.gz · Last modified: 2025/02/04 23:01 by tstrickl