Migration of github repositories » History » Version 1
Nico Schottelius, 12/03/2018 12:49 PM
1 | 1 | Nico Schottelius | h1. Migration of github repositories |
---|---|---|---|
2 | |||
3 | h2. How to migrate a repository from github to https://code.ungleich.ch |
||
4 | |||
5 | * create a new repo on code.ungleich.ch |
||
6 | ** group ungleich-public for public repos |
||
7 | ** group ungleich-intern for internal repos |
||
8 | ** your user for private repos |
||
9 | * Push the current code to the new repo on code.ungleich.ch |
||
10 | * Update github |
||
11 | ** Locally create a new branch named "github" |
||
12 | ** Delete all files in this branch |
||
13 | ** Create a new file README.md in this branch |
||
14 | ** Add the content "This repository has been moved to ..." and point it to the repository on code.ungleich.ch (example: https://github.com/ungleich/dynamicweb) |
||
15 | ** Push the github branch to github |
||
16 | ** Login to github and make the github branch the default branch |