Articles → Git → GIT Clone Command In GIT

GIT Clone Command In GIT






Purpose





Syntax


git clone <URL of repository>



Example


Picture showing the git clone command
Click to Enlarge


Difference Between Clone And Pull


  1. clone command is used to get the copy of the repository for the first time whereas pull command is used to get the new updates in the repository.
  2. You need to initialize the repository for using the pull command. But you can use the clone command without initializing the repository.



Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 8, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250