Z
Z
zhdoon2017-11-08 14:04:04
git
zhdoon, 2017-11-08 14:04:04

How to clone a repository (along with project files) from bitbucket to local machine?

Hello.
There is an account on bitbucket, it contains a repository (emk), in which the folder with the site and the .git folder are uploaded from the working server. I want to copy this repository along with the project files to my local computer (Windows).
I launch the Cygwin terminal, enter the folder with local domains, enter the command
$ git clone [email protected]:mynamespace/emk.git
After that, I see that the emk folder has downloaded, inside which is the .git folder. That's all.
Question - is it possible to enter a command from the console on the local computer that will download both the git folder and all the project files?
In the Source menu I see this prntscr.com/h7riuv

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
aol-nnov, 2017-11-08
@aol-nnov

After that, I see that the site folder has downloaded, inside which is the .git folder. That's all.

it means that there is no master branch in the project.
here, go to the site directory, type git branch there, select the one you like and switch to it.

E
Egor Zhivagin, 2017-11-08
@Krasnodar_etc

And from the working server, the site folder definitely flooded normally, is it visible in the repository on bitbucket?

P
Pavel Rogov, 2017-11-08
@RogovP

Try it with https

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question