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

  • Home
  • SEARCH
  • 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 4053252
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:25:25+00:00 2026-05-20T14:25:25+00:00

I can pull changes using git pull , but it merges my local commits.

  • 0

I can pull changes using git pull, but it merges my local commits. Is there a git rebase equivalent with which I can pull in remote changes?

  • 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-20T14:25:25+00:00Added an answer on May 20, 2026 at 2:25 pm

    Yes you can git pull --rebase.

    You can also set that to be the default pull behaviour when you track a branch with git config branch.autosetuprebase always. Replace “always” with “remote” or “local” if you want to do it to those specific types of branches that you’re tracking.

    Now all you have to do is git pull.

    If for some reason you want to do a merge, you can do git pull --no-rebase.

    Hope this helps.

    UPDATE: see comments below for how to do this on existing branches.

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

Sidebar

Related Questions

If someone has deleted the remote branch, is there any way I can pull
Possible Duplicate: Using Git how do I find modified files between local and remote
I'm using jQuery deferred objects so I can pull data from multiple sources ,
I'm using a forum software where you can pull up an avatar link using
I know there are a lot of posts about git workflows, but I couldn't
I've been using Git on Windows (msysgit) to track changes for some design work
A Git repository has been cloned on several developers' local machines. Some changes have
I currently have code in objective C that can pull out an integer's most
It seems like R is really designed to handle datasets that it can pull
For Android GUI: I would like to create a window that I can pull

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.