Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6345323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:47:59+00:00 2026-05-24T20:47:59+00:00

Steve Losh: A Guide to Branching in Mercurial – Mercurial will push/pull all branches

  • 0

Steve Losh: A Guide to Branching in Mercurial –

Mercurial will push/pull all branches by default, while git will push/pull only the current branch.

I wonder if my understanding is right:

It occurs to me that when I do a git pull I actually do fetch from all branches but the merge happens only with the current branch that I am sitting on. This is very close to mercurial where a pull gets me everything from the remote; but does not merge anything yet.

In mercurial a push sends everything, but an explicit updateis needed to merge things back. I am not quite sure on git' behavior of the push operation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:48:00+00:00Added an answer on May 24, 2026 at 8:48 pm

    In Git, you have to pull/push all the branches one by one. Thus, you can work on local branches without messing up the server.

    You can specify each time which branch you want to pull/push on : git push origin master means you want to push your branch master on the one at origin, which is often the “default” server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading through Steve Losh's Learn Vimscript the Hard Way and have added to
I've followed Steve Sanderson’s Editing a variable length list, ASP.NET MVC 2-style guide and
Using the method from Steve Sanderson's blog , I have a list of items
Recently I hear Steve Jobs citing this as a main reason to not have
I am working through Steve Sanderson's book Pro ASP.NET MVC Framework and I having
So since Steve Jobs said Flash sucks and implied that HTML5 can do everything
I downloaded the xVal sample project from Steve Sanderson’s blog , run it, and
I've been coding my way through Steve Kochan's Programming in Objective-C 2.0 book. I'm
Good advice from CommonWare and Steve H but it's not as easy to me
In his book High Performance Websites Steve Souders wrote (2007) that browsers limit parallel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.