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:19] – [Adding untracked files to repository] tstrickl | notes:unix:spring2025:projects:dac0 [2025/02/04 23:05] (current) – [Updating current repository] tstrickl | ||
---|---|---|---|
Line 31: | Line 31: | ||
====Checking current repository status==== | ====Checking current repository status==== | ||
- | hg status | + | hg status |
====Adding untracked files to repository==== | ====Adding untracked files to repository==== | ||
- | hg add for new files | + | hg add <File name> stages |
- | hg addremove | + | |
====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. |