diff --git a/beamtime/readme.md b/beamtime/readme.md index 0e0dd25..ba8abc4 100644 --- a/beamtime/readme.md +++ b/beamtime/readme.md @@ -202,6 +202,15 @@ Optional but handy: WIP: No idea yet what it takes to set up gitea git on a PSI computer. Can one of the Windows users update this section here, so that the others know? 🙂 +1. Open a Terminal (Windows Power Shell) +2. Go to the folder where you want to store the git repository folder using the cd command, e.g. cd .\Documents\Gitea\ +3. Open the repository in your browser. You need the whole functionsMatlab repo: https://gitea.psi.ch/5505/functionsMatlab.git not only the beamtime subfolder. +4. Click on the blue <> Code button & copy the HTTPS link +5. Type git clone into the terminal and copy the HTTPS link after it (git clone https://gitea.psi.ch/5505/functionsMatlab.git). Press enter to run the command. +6. If you get an authentication error (happens quite often with PSI gitea): Run the command again (press the up arrow on your keyboard and press enter again). +7. It should now start copying the contents of the repository to the folder. +8. Once it is done, you can go into the folder with cd .\functionsMatlab\ and do all the git things. + **Option B – download zip (for non‑git days)** 1. Open the repository in your browser. You need the whole functionsMatlab repo: https://gitea.psi.ch/5505/functionsMatlab.git not only the beamtime subfolder.