Page History
...
Private repositories are now located in the IfI GitLab. There is a separateinternal migration guide for members of our group.
...
- Open a terminal
- Change the current working directory to your local repository
List your existing remotes in order to get the name of the remote you want to change (usually origin)
Code Block language text $ git remote -v > origin ssh://git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/<repo>.git (fetch) > origin ssh://git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/<repo>.git (push)
Info The given example uses an URL for access via SSH, if you are using HTTPS, the URL might differ.
- Find the new repository location on GitHub (or IfI GitLab for internal ones)
- Click on clone to inspect the new URL of the repository
Change your remote's URL to the new location using the
git remote set-url
command.Code Block language text $ git remote set-url origin git@github.com:kieler/<repo>.git
(optinal) Verify that the remote URL has changed.
Code Block language text $ git remote -v > origin git@github.com:kieler/<repo>.git (fetch) > origin git@github.com:kieler/<repo>.git (push)
...
Overview
Content Tools