Answer the question
In order to leave comments, you need to log in
How to move a project from a remote Git repository to a local machine?
The fact is that when cloning a repository with a project on yii, not the entire project is transferred, but only part of it. I understand that Git doesn't work with empty files and directories, but I can't find a solution to the problem. The goal is to move the entire project from the remote repository to the local machine. Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Maybe the solution is not the best, but why not connect to the git server via ssh and pull the files from there via scp?
The meaning of the question is not very clear.
Git clones empty files/folders quite well, you just need to git add them to the repository.
You are confusing something.
Git works great with empty files.
To add a folder, it must contain at least one file, even an empty one. Usually an empty .gitkeep file is added (similar to .gitignore), but the name doesn't matter.
And if this is done in the cloned storage, everything is cloned as it is, completely.
By default, yii(2) adds .gitignore files to the framework files, so you need to install the composer, install yii2 through it, initialize the framework in the right environment (init if using the advanced template), and then clone the repository
First, <input type="hidden" value="unsubscribe-success">
you don't have the name
. The same goes for the email field. To get started, add them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question