Solved

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

Posted on 2016-10-31
2
116 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 500 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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