Error cloning bitbucket repository for umbler

0

I'm having a problem cloning the repository from bitbucket to umbler.

The commands that the umbler personnel passed were:

Access your site via SSH:
ssh [email protected] - p 9922

Access the directory where you want to publish your application.
cd public

Run git clone
git clone [email protected]: USER / PROJECT

It works and returns this message:

Cloning into 'myite' ...
Failed to add the host to the list of known hosts
(/home/myusite/.ssh/known_hosts).
remote: Counting objects: 4, done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (4/4), done.

The problem is that it creates a folder with the name of the repository of bitbucket ... that is, instead of just pulling the files it creates this directory and puts the files in there. :

I've even tried to create a "public" folder and put the files in there, and instead of accessing with "cd public" clone the root of the server, but without success, it always create that folder with the name of the repository: (

Does anyone know how to resolve this bug?

    
asked by anonymous 16.02.2018 / 00:12

1 answer

0

Hello, Luciano, how are you?

This error in adding bitBucket to know_hosts actually happens, but it does not prevent the clone from being made, right?

I tested here in a repository of mine connected to BitBucket and managed to make the clone and also publish the directory inside the public. What I did exactly was.

git clone [minha git url]

And then I entered the folder created with the name of my repository, with the command:

cd [nome do repositório]

After that I moved the files from within that folder to the public, where the files that are published with Umbler are exposed

mv * ~/public

After that, just access your temporary address that will see it working.

Any questions just contact the link and call support, I'm sure they will help you the best way possible!

Hugs!

    
09.03.2018 / 14:16