Differences between git pull origin master git pull origin master

0 votes

What is the difference between git pull origin master and git pull origin/master ?

Feb 11 in Others by Soham
• 8,730 points
29 views

1 answer to this question.

0 votes
To answer your question, the git pull origin master will pull changes from the origin remote, master branch and merge them to the locally checked-out branch. However, the git pull origin/master will pull changes from the locally stored branch origin/master and merge that to the local checked-out branch. The origin/master branch is nothing but a "cached copy" of what was last pulled from origin, which is why it's called a remote branch in the git parlance. This can be interpreted as being somewhat confusing but nevertheless, you can see what branches are available with git branch and git branch -r to see the "remote branches".
answered Feb 11 by Rahul
• 8,980 points

Related Questions In Others

0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 22, 2018 in Others by Frankie
• 9,830 points
709 views
0 votes
1 answer

Events & Threading in Windows Forms

I don't think you should be updating ...READ MORE

answered Nov 10, 2018 in Others by nirvana
• 3,130 points
283 views
0 votes
0 answers

Mention the difference between Data Driven Testing and Retesting?

Retesting:  It is a process of checking ...READ MORE

Feb 1, 2019 in Others by riya

closed Feb 1, 2019 by Omkar 1,409 views
+1 vote
1 answer

What is the difference between Dark Web and Deep Web?

The content that which you cannot find ...READ MORE

answered Feb 6, 2019 in Others by Priyaj
• 58,060 points
349 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,564 views
+2 votes
1 answer
0 votes
1 answer

Git refusing to merge unrelated histories on rebase

To answer your question, the “git merge” ...READ MORE

answered Feb 9 in Others by Rahul
• 8,980 points
59 views
0 votes
1 answer

How do I check out a remote Git branch?

The answer to your question has been ...READ MORE

answered Feb 10 in Others by Rahul
• 8,980 points
17 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP