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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:25:19+00:00 2026-06-14T15:25:19+00:00

Question about standard git/github workflow procedure I think. But I really understand all that

  • 0

Question about standard git/github workflow procedure I think. But I really understand all that stuff very badly.

  1. A month ago I had forked some project.
  2. I made my branches with
    changes I need
  3. Original project has changed since
  4. I want to fork new version and add changes that I’ve made to previous version

How should I do this? The problems I faced:

1) I can not fork new version, when I press fork github redirects me to my current fork of new version, do I have to remove it to have new version?

2) Is it possible some how to apply changes I’ve made to previous version in some automatically manner?

  • 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-14T15:25:21+00:00Added an answer on June 14, 2026 at 3:25 pm

    I think you just need to fetch upstream.

    $ git remote add upstream git@github.com:original-user/project-name.git
    $ git checkout master
    $ git checkout -b merge-upstream
    $ git fetch upstream
    $ git merge upstream/master
    

    At this point, you have the new version on a branch named merge-upstream. If everything still works from here, you’ll want to merge this to your master.

    $ git checkout master
    $ git merge merge-upstream
    

    Now your master should be all good with the original master. Delete your working branch.

    $ git branch -d merge-upstream
    

    You now have a copy. So you can test your changes against the new master. Merge master into your branch to test.

    $ git checkout my-feature
    $ git merge master
    

    You should now have all of the changes from the original user’s master branch merged into your feature branch.

    PS: When working on a long-running project, I try to make sure the original master doesn’t get more than a day or two ahead of me. In fact, I always add the remote upstream to point to the original user’s repository. Then I can pull in upstream changes whenever I need them.

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

Sidebar

Related Questions

I have a question about forms. I have a fairly standard form that saves
Before starting, I'm not asking about standard coding practice or etiquette. My question is
Question What does the C++ standard guarantee about the state of an object in
I know there is another question about this here but this just isn't working
I'm very new to Maven, and have a question about building multiple Maven projects.
I have a question about the SQL standard which I'm hoping a SQL language
In a question about forward declaring templates, and an answer that this is not
I have a question about python standard logging mechanism. So if I use logging.config.fileConfig
I just read this interesting question about a random number generator that never generates
Another question about the C standard. I have tested this and I always get

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.