Update bare Git repository

Just as a note for me (and if you are searching for this):

You can update a bare Git repository using the following command (whereas origin is the remote and main is the branch):

git fetch origin main:main

Found this at: Stack Overflow: how do I pull to a bare repository?

Published on 2023-03-24, 17:20 +0000