basically this is my problem: I have access from my PC to a repo requiring authentication. There's a second PC on which I have to work and I would like to have all my repo files updated on it accordingly. However, I cannot ask for access also from this second PC (there's 1:1 policy between ssh-keys and users, or something like that).
So, is it possible to sync files from my 1st PC to the second by simply typing "git pull" on the second, so that the 1st pc acts like the origin?
I understand that this could not work both ways (e.g. "git push" from the 2nd to the 1st), but 99% of the times I just need to have the repo as readonly -- I code on the 1st PC, I use the 2nd for running the code.
origin <------ push/pull ----> 1st PC ---- only pull ---> 2nd PC
Thanks a lot for the help, and apologies if the question sounds silly :)