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 678005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:06:05+00:00 2026-05-14T01:06:05+00:00

I know of some people who use git pull –rebase by default and others

  • 0

I know of some people who use git pull --rebase by default and others who insist never to use it. I believe I understand the difference between merging and rebasing, but I’m trying to put this in the context of git pull. Is it just about not wanting to see lots of merge commit messages, or are there other issues?

  • 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-14T01:06:06+00:00Added an answer on May 14, 2026 at 1:06 am

    You should use git pull --rebase when

    • your changes do not deserve a separate branch

    Indeed — why not then? It’s more clear, and doesn’t impose a logical grouping on your commits.


    Ok, I suppose it needs some clarification. In Git, as you probably know, you’re encouraged to branch and merge. Your local branch, into which you pull changes, and remote branch are, actually, different branches, and git pull is about merging them. It’s reasonable, since you push not very often and usually accumulate a number of changes before they constitute a completed feature.

    However, sometimes–by whatever reason–you think that it would actually be better if these two–remote and local–were one branch. Like in SVN. It is here where git pull --rebase comes into play. You no longer merge–you actually commit on top of the remote branch. That’s what it actually is about.

    Whether it’s dangerous or not is the question of whether you are treating local and remote branch as one inseparable thing. Sometimes it’s reasonable (when your changes are small, or if you’re at the beginning of a robust development, when important changes are brought in by small commits). Sometimes it’s not (when you’d normally create another branch, but you were too lazy to do that). But that’s a different question.

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

Sidebar

Related Questions

I've created some R code for use by people who know nothing of R
I searching people who know some experience with bug tracking on client machines, if
Simple query, possibly impossible but I know there are some clever people out there
For some time now, a few people who have been using my application has
For example I want to know who are the tallest guys in some group
I have never understood why some people say making custom css for each browser
I know some of the escape characters in Java, e.g. \n : Newline \r
I know some languages allow this. Is it possible in C++?
Someone know some interesting and complete tutorial about how to create a Parent-Child dimension
I know some SEO, but I have to ask: Is it unnecessary to add

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.