Page History
...
- 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 $ git remote -v > origin git@git.rtsys.informatik.uni-kiel.de:7999/KIELER/<repo>.git (fetch) > origin 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
- 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 $ git remote set-url origin git@github.com:kieler/<repo>.git
(optinal) Verify that the remote URL has changed.
Code Block $ git remote -v > origin git@github.com:kieler/<repo>.git (fetch) > origin git@github.com:kieler/<repo>.git (push)
...
Overview
Content Tools