File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,19 +53,39 @@ https://github.com/user-attachments/assets/fffbbce1-8a48-49f7-a8d8-96da6d9c433e
5353 git clone --mirror https://gitlab.com/username/repo.git
5454 ```
5555 - ` --mirror ` ensures all branches, tags, and refs are included.
56-
56+
57+ > E.g
58+
59+ <img width =" 1806 " height =" 1016 " alt =" image " src =" https://github.com/user-attachments/assets/fd12c938-e958-43d7-9f9e-dcf538a4ae3f " />
60+
57612 . Create a new repository on GitHub (empty).
5862
5963 https://github.com/user-attachments/assets/ba8b1a16-4949-493c-bac2-4a63ba59b2f9
6064
65+ > E.g:
66+
67+ <img width =" 1906 " height =" 993 " alt =" image " src =" https://github.com/user-attachments/assets/b754113d-4a4b-4e45-a899-f4bbc622cb92 " />
68+
61693 . Push the mirrored repo to GitHub:
6270 ``` bash
6371 cd repo.git
6472 git push --mirror https://github.com/username/repo.git
6573 ```
6674
75+ > E.g:
76+
77+ <img width =" 1908 " height =" 997 " alt =" image " src =" https://github.com/user-attachments/assets/de98ff11-e412-4e4c-959e-fb870f4aef97 " />
78+
79+ <img width =" 1912 " height =" 991 " alt =" image " src =" https://github.com/user-attachments/assets/6a35dce4-f6f3-4051-9da9-9d3861b8e55f " />
80+
6781> At this point, your code and commit history are fully migrated.
6882
83+ > E.g:
84+
85+ <img width =" 1905 " height =" 992 " alt =" image " src =" https://github.com/user-attachments/assets/5a0b6e7b-1619-41a2-97c7-5db20c9fb431 " />
86+
87+ https://github.com/user-attachments/assets/21d82423-d51b-493c-b921-0e437c13e580
88+
6989## Issues and Comments
7090
7191> [ !NOTE]
You can’t perform that action at this time.
0 commit comments