Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Changing git host #458

Closed
Francismb opened this issue Oct 17, 2016 · 3 comments
Closed

Changing git host #458

Francismb opened this issue Oct 17, 2016 · 3 comments

Comments

@Francismb
Copy link

Hi, so i was migrating my repositories from github to gitlab.

After importing my repositories into gitlab and adding me ssh key etc I updated the repository variable in mina and tried to deploy and got this error.

`-----> Creating a temporary build path
-----> Fetching new git commits
Host key verification failed.
fatal: Could not read from remote repository.

   Please make sure you have the correct access rights
   and the repository exists.

! ERROR: Deploy failed.
`

@Francismb
Copy link
Author

I just ended up re-setting up mina. Maybe there is an easy way to switch host?

@d4be4st
Copy link
Member

d4be4st commented Oct 18, 2016

There is no way to automatically detect repo git host change.
You need to either mannually change the host in scm/config, or delete the
contents of the scm folder.

Will add to faq.

On Tue, Oct 18, 2016, 06:07 Francis notifications@github.com wrote:

I just ended up re-setting up mina. Maybe there is an easy way to switch
host?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#458 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7cMF7juyOft3cUfuSUjjrvQcXRhNo6ks5q1EYFgaJpZM4KZNDL
.

@Francismb
Copy link
Author

Sounds good.

@d4be4st d4be4st closed this as completed Oct 18, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants