Git Clone -Mirror vs. Git Clone -Bare
Git Clone -Mirror |
Git Clone -Bare |
---|---|
Git Clone -Mirror create an complete copy of the git remote repository or complete mirror of the git repository. |
Git Clone -Bare will only copies the file which are required for the keeping the track of that repository. |
Git Clone -Mirror it will have the all the copies of the files which are exactly present in the remote git repository. |
Git Clone -Bare will only keeps the files which are necessary to keep the track. |
Mostly used for the backup purposes |
Mostly used for the continuous integration. |
It can also be used for the offline development purpose. |
It can also be used for the working on the same repsitory on multiple locations. |
What is Git Clone?
Git Clone will make a copy of the existing git repository in the local machine. This means it will download all the files and directories which are available in the repository available in the remote repository. Git clone will make the repository online which will help us to test the new features before merging into the main or production branch.
Contact Us