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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:41:39+00:00 2026-05-27T03:41:39+00:00

I am just learning how to use git and would like to follow a

  • 0

I am just learning how to use git and would like to follow a project. So I clone the project and no I have the most new code.

If I want to add a patch (or more) to that code, what is the best way to do that (and run make and make install) and still be able to git pull from the master repo without creating a conflict?

I have tried making a branch, but I’m not sure if this is the right way.

I’d just like to be able to keep up with new code in master, but be able to apply my own patches as new versions are pushed.

I’d like to know where I can learn how to do this, but I’m not sure what to google for.

  • 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-27T03:41:39+00:00Added an answer on May 27, 2026 at 3:41 am

    You are probably looking for git rebase: Create a local branch from the remote tracking branch and invoke git config branch.mylocalbranch.rebase true (where ‘mylocalbranch’ is the name of your local branch). Now you can make your local patches and commit them. Everytime you fetch updates with git pull your local modifications are ‘rebased’ (applied on top of what you’ve just pulled).

    Be careful not to push your local modifications (e.g. the HEAD of your local branch) to the remote as this is probably not what you want. See man git-rebase for further details.

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

Sidebar

Related Questions

I'm just learning to use RVM, and would like to know how I can
I'm stil pretty new to regular expression and just started learning to use awk.
I am just learning how to use classes in my projects. I have been
I'm just learning SDL and I would like to know where is the correct
I am just learning PHP . i want to display string like 32th meet
I've just started learning to use Core Data. On my first attempt to add
I'm just learning how to use MVP and I want to make sure that
Im using the following code just for learning how to use the FIleService API,
I'm just learning about F# and plan to use it for my next project.
I am just learning how to use Terracotta after discovering it about a month

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.