You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow pushing to GH from PVC (or document how to/make easier) #1660
Currently, it is not easy to push changes from my scratch PVC back to GH. There are a few reasons for this:
The scratch area is pulled using https. To push with https you need to set up a PAT, which people tend not to do and instead use ssh. Even if we did use a PAT here, I'm not sure how to do it securely given that we're using a shared PVC?
If you try and pull with ssh you can't as the scratch initialisation doesn't have ssh
If you change the remote in the PVC after the fact e.g. git remote set-url origin git@github.com:DiamondLightSource/dodal.git. You then get:
error: cannot run ssh: No such file or directory
fatal: unable to fork
Activity
tpoliaw commentedon Sep 16, 2026
Some extra discussion on gitlab