986 B
986 B
git.autonomic.zone
Migrating local repos
Recently we moved our Gitea instance to use docker-swarm. This requires changing the origin on your repos hosted here. You may need to use a combination of the following commands.
git pull
git remote rm origin && git remote add origin ssh://git@git.autonomic.zone:2222/autonomic-cooperative/git.autonomic.zone.git
git branch --set-upstream-to=origin/master master
git pull
You may also need to run a command similar to this to remove the previous server fingerprint from your known_hosts
file or do it manually:
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "[git.autonomic.zone]:222"