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?