This commit is contained in:
Liam Waldron 2023-02-17 08:50:07 -05:00
parent 15b5170190
commit 605a177e55

View File

@ -2,17 +2,13 @@
Easily update an Everest system with Git. Easily update an Everest system with Git.
+-------------------+ ### How does it work?
| How does it work? |
+-------------------+
All system images contain a .git directory, containing metadata All system images contain a .git directory, containing metadata
for every file on /. Once installed, a user can easily keep for every file on /. Once installed, a user can easily keep
their system updated, just by pulling in the latest release. their system updated, just by pulling in the latest release.
+------------------+ ### What you'll need
| What you'll need |
+------------------+
- A separate /usr partition (Git will NOT touch /usr.) - A separate /usr partition (Git will NOT touch /usr.)
- Git - Git
@ -23,15 +19,16 @@ their system updated, just by pulling in the latest release.
Unmount your /usr partition: Unmount your /usr partition:
``` ```
(root)# umount -R /usr (root)# umount -R /usr
OR OR
(root)# umount /dev/sdX # the drive mounted to /usr (root)# umount /dev/sdX # the drive mounted to /usr
``` ```
Pull the latest version for your branch: Pull the latest version for your branch:
```
(root)# git pull (root)# git pull
```
Or, if you want to migrate to a new branch: Or, if you want to migrate to a new branch:
```
(root)# git checkout branch_name (root)# git checkout branch_name
(root)# git pull (root)# git pull
```