In this article, I will guide you how to create a clone of a existing project by using the already cloned code set which available in another computer.
When you going to clone the project from remote repository, it's need to download the project form the remote. Trouble start if the project got more capacity and slow internet connections or temporary disconnection to clone new one.
Step 01. Go to the project location of code existing place by console. (I'm using linux terminal)
Step 02. Execute following command at the project place.
Project code has exported to the myproject.zip, but not included the .git folder.
Take both myproject.zip file and .git folder to another computer or another place of your computer
Step 3. Extract the zip and copy the .git folder into it.
Step 4. Go inside to the project and take git pull (If internet connection available).
Now it's working as a newly cloned one
When you going to clone the project from remote repository, it's need to download the project form the remote. Trouble start if the project got more capacity and slow internet connections or temporary disconnection to clone new one.
Step 01. Go to the project location of code existing place by console. (I'm using linux terminal)
Step 02. Execute following command at the project place.
git archive --format zip --output /full/path/to/myproject.zip master
Project code has exported to the myproject.zip, but not included the .git folder.
Take both myproject.zip file and .git folder to another computer or another place of your computer
Step 3. Extract the zip and copy the .git folder into it.
Step 4. Go inside to the project and take git pull (If internet connection available).
Now it's working as a newly cloned one
Comments
Post a Comment