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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:29:01+00:00 2026-05-20T11:29:01+00:00

Say, I have a fork of some library ver. 1.1 under git. Then a

  • 0

Say, I have a fork of some library ver. 1.1 under git. Then a new tar-ball ver. 1.2 comes out. How can I update my forked library to a new version?

  • 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-20T11:29:02+00:00Added an answer on May 20, 2026 at 11:29 am

    You question isn’t great, but I’ll offer a potential solution.

    Lets assume the code base for the library looks like this:

    vendor  a -- b
    

    you fork at b which is the 1.1 release.

    vendor  a -- b
                  \
                   \
    you             1 -- 2 -- 3
    

    Now assuming development continues on the vendor tree.

    vendor  a -- b -- c -- d
                  \
                   \
    you (master)    1 -- 2 -- 3
    

    and d becomes their 1.2 release. If the vendor tree is in a git repo and you can access it, then a git pull or maybe a git pull --rebase from the vendor tree should do most things you need, you may need to resolve some conflicts etc. However if the vendor tree is not in git, and the only access you have the source code is tarballs of each release then something slightly more complicated might be required.

    So I would create a second branch at the point at which you forked, by doing:

    $ git checkout -b v1.2 b
    

    Then untar you v1.2 tarbar into this branch and commit the changes. You should now have something like this:

    vendor  a -- b -- c -- d
                 |\
                 | \
    you (master) |  1 -- 2 -- 3
                  \
    (v1.2 branch)  x
    

    Now, either you can merge the changes from branch v1.2 using:

    $ git checkout master
    $ git merge v1.2
    

    Or you can rebase your changes on top of v1.2 using:

    $ git rebase v1.2
    

    Which will give you:

    vendor  a -- b -- c -- d
                  \
                   \
    you (master)    x -- d -- 1 -- 2 -- 3
    

    I’m no expert, so I’m sure people will comment if I’ve made some mistakes (please do, then I’ll add corrections).

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

Sidebar

Related Questions

Let's say we have a base repository R and a fork F. Coders are
Say, we have some items, and each defines some partial sorting rules, like this:
I am new to GIT and have a question that may be stupid but
Say I have a repository on git.fedorahosted.org and I want to clone this into
I have been stuck on this for some time. Let's say I have a
Lets say have this immutable record type: public class Record { public Record(int x,
Say I have a select box eg <div data-bind='visible: someProp'> <select class=selectSubWidgets data-bind='options: subWidgets,optionsText:
Say I have a Telerik MVC Grid, AJAX bound and I want to put
Say we have deep hashes like: b = {1 => {2 => {} },
Say i have a few fields like the following: abd738927 jaksm234234 hfk342 ndma0834 jon99322

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.