Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git clone vs add remote


git clone:
Will physically download the files into your computer. It will take space
from your computer. If the repo is 200Mb, then it will download that all
and place it in the directory you cloned.
git remote add:

Won't take space! It's more like a pointer! It doesn't increase your disk
consumption. It just gets a snapshot of what branches are available and their
git commit history I believe. It doesn't contain the actual file/folders
of your project.
 
PREVIOUS NEXT
Tagged: #git #clone #add #remote
ADD COMMENT
Topic
Name
1+2 =