?
Solved

what is the main difference between git clone and fetch ann pull and push commands

Posted on 2016-10-31
2
Medium Priority
?
175 Views
Last Modified: 2016-11-01
what is the main difference between git clone and fetch ann pull and push commands?
when to use which one.
what are advantages and disadvantages, practical uses of each one. please advise
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
gurpsbassi earned 2000 total points
ID: 41867379
Guddi9 you have been posting questions on EE for a very long time. In that time I was hoping you would learn some basic research skills.

Why don't you use your friend Google first.
A quick search reveals:
https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html

I would look to see if your question is answered in the above link.

If you still need assistance then please reach out.

Oh and by the way, asking what the advantages and disadvantages of things are before you have understood their meaning is a pointless question.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41868381
i got some more understanding on this


when we clone 3 copies created from Remote branch to local called Remote Copy and Local Copy and Commit Copy.

Fetch fetches from Remote Branch to Remote Copy.

Merge does merge from Remote Copy to Local Copy.

Fetch is more kind of a command to check the differences and if needed to fetch and then to merge to local copy through remote copy.


Pull on the other hand is combination of fetch(Remote branch to Remote copy) and merge(remote copy to local copy).

Commit commits from Local Copy to Commit copy.

Push basically pushes changes from commit Copy to remote Branch

When we use DIFF command it finds differences between remote copy and local copy.

When Client like to check the changes we make they need to repeat similar process as above by pulling the changes then DIFF etc.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question