Skip to content
Snippets Groups Projects
Commit b6d1cd98 authored by Johannes Keyser's avatar Johannes Keyser
Browse files

Make instructions more symmetric.

parent b85f578a
No related branches found
No related tags found
No related merge requests found
...@@ -297,7 +297,7 @@ Siehe LFS-Dokumentation unter <https://gitlab.ub.uni-giessen.de/jlugitlab/git-lf ...@@ -297,7 +297,7 @@ Siehe LFS-Dokumentation unter <https://gitlab.ub.uni-giessen.de/jlugitlab/git-lf
##### So synchronisieren Sie Änderungen auf Ihrem Laptop mit dem Laborcomputer: ##### So synchronisieren Sie Änderungen auf Ihrem Laptop mit dem Laborcomputer:
1. Machen Sie Änderungen auf Ihrem Laptop und _committen_ sie diese (oder beziehen Sie _Commits_ von einer anderen _Git remote_). 1. Machen Sie Änderungen auf Ihrem Laptop und _committen_ sie diese wie üblich mit `git add` und `git commit` (oder beziehen Sie _Commits_ von einer anderen _Git remote_).
2. Schließen Sie den USB-Stick an und _pushen_ Sie die _Commits_, z.B. in den `main`-_Branch_: `git push usbstick main`. 2. Schließen Sie den USB-Stick an und _pushen_ Sie die _Commits_, z.B. in den `main`-_Branch_: `git push usbstick main`.
3. Schließen Sie den USB-Stick an den Laborcomputer an, wechseln Sie in das Repository-Verzeichnis (z. B. `cd /d/projects/example-repo`) und synchronisieren Sie die Änderungen vom Stick: 3. Schließen Sie den USB-Stick an den Laborcomputer an, wechseln Sie in das Repository-Verzeichnis (z. B. `cd /d/projects/example-repo`) und synchronisieren Sie die Änderungen vom Stick:
`git pull origin main`. `git pull origin main`.
......
...@@ -299,7 +299,7 @@ See LFS documentation at <https://gitlab.ub.uni-giessen.de/jlugitlab/git-lfs-how ...@@ -299,7 +299,7 @@ See LFS documentation at <https://gitlab.ub.uni-giessen.de/jlugitlab/git-lfs-how
##### To synchronize changes on your laptop with the lab computer: ##### To synchronize changes on your laptop with the lab computer:
1. Make changes on your laptop and commit them (or pull them from any another remote location). 1. Make changes on your laptop and commit them as usual with `git add` and `git commit` (or pull them from any another remote location).
2. Attach the USB stick and push the changes, e.g. to its `main` branch: `git push usbstick main`. 2. Attach the USB stick and push the changes, e.g. to its `main` branch: `git push usbstick main`.
3. Attach the USB stick to the lab computer, change into the repository directory (e.g. `cd /d/projects/example-repo`) and pull the changes from the stick: 3. Attach the USB stick to the lab computer, change into the repository directory (e.g. `cd /d/projects/example-repo`) and pull the changes from the stick:
`git pull origin main`. `git pull origin main`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment