Due to problems inflicted upon our remote Gitlab provider, my organization was forced to setup a local Gitlab instance.
The former remote is the ‘origin’. The latter is “delta”.
The new instance was populated from the developers’ working repos.
We now have in-person access to both and, with an eye to using the original for production, what is the best way to get the goodness from delta to origin?
Here are the commands that come to mind:
-
To download all branches from delta to laptop:
git pull --all git fetch --all git remote update
-
To upload all branches from laptop to origin:
git push --all git ???? --all git remote ????
Development will continue on delta, so we’ll have to do this ~weekly.