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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:48:04+00:00 2026-06-09T20:48:04+00:00

Good evening, I found a github project that has a significant codebase that gets

  • 0

Good evening,

I found a github project that has a significant codebase that gets me 75% of the way to what I would like to do. It is relatively new (i.e. it will probably see frequent updates) and I would like to take it in my own direction.

I am fairly new to git…. is there any easy way to keep myself up to date with the github master, while at the same time straying away in my own direction?

i.e. If I keep my local master in sync with the github repo (git pull –ff-only upstream master), and work on my own branch, is there an easy command where I can easily apply all of my commits to an updated master branch, keeping the two separate?

(I’m sure this is a relatively simple operation for someone knowledgable in git!)

Thanks!

  • 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-06-09T20:48:05+00:00Added an answer on June 9, 2026 at 8:48 pm

    You want to use git rebase, which will move all the commits on your branch so they are based off an updated master branch.

    After updating master from upstream as in the question, you do

    git rebase master my-branch

    Now it is as if my-branch was made from the most up-to-date master commit.

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

Sidebar

Related Questions

Good evening, I'm working on a project that has a list of seven options
Good evening, I would like to have a navigation bar which is centralised to
Good Evening All, A client has asked that I develop a web application as
Good Evening, I am pretty new to Unix so maybe this mini project is
Good evening. I found a few questions that seemed to ask the same thing
Good evening guys. I'm currently trying to get started on development of a project
Good evening, In my app that I'm currently developing, I have a class that
Good evening all, I've been working on an MD5 tool in C# that takes
Good evening everyone. I am puzzling over the oddity that the jQuery Marquee plugin
Good evening. I'm developing an android application that uses Facebook SDK. I've no problem

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.