-
Enter local mirror repository (cloned from github).
$ cd local_mirror
-
Fetch updates from remote main repository (gitlab).
$ git fetch https://gitlab.com/main/repository
-
Merge updates.
$ git merge FETCH_HEAD
-
Push updates to remote mirror repository.
$ git push origin master
Created
November 1, 2024 10:09
-
-
Save lidgnulinux/3f5736280b098f1c69bb34175c1fa6e4 to your computer and use it in GitHub Desktop.
Dummy approach to update mirror repository.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment