Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

What is the difference between pull and clone in git?

Asked by Diana Campbell Jul 25, 2023 1.4K views 1 answer
Share

About this question

description: What is the point of difference between doing (after mkdir repo and cd repo):

Git init
Git remote add origin git : //github.com/chandra/repo.git
Git fetch - - all
Git pull origin master

And 

Git clone git ://github.com/chandra/repo.git
Are both performing the same thing?

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.