R
R
ryzhak2014-02-28 17:47:43
git
ryzhak, 2014-02-28 17:47:43

Why do not all files arrive with git clone, but all with git pull?

There is a project on bitbucket, there is a dev branch, there is also a folder with files in the repository: file1, file2, file2. With git pull origin dev, all files arrive in my project: file1, file2, file3.
With git clone origin, only file1 arrives in my project.
What to do where to look?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2014-02-28
@jcmvbkbc

Are the files in a branch? Maybe it's worth git checkout after git clone?

Y
Yuri Shikanov, 2014-03-01
@dizballanze

I can assume that after git clone you have the active branch master in which there are no all files. As already suggested, apparently you need to do git checkout dev after git clone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question