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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:46:22+00:00 2026-05-31T04:46:22+00:00

Not sure if this is the place to ask questions about Github. I have

  • 0

Not sure if this is the place to ask questions about Github.

I have forked a public repo and added two commits to it, then sent to the original author asking for a pull request. The author have complied with the request and now I’d wish to fast track my own repo to the HEAD of the author’s repo. All of my new commits are in the author’s repo now, so there aren’t any side-tracked commits (what’s the proper name for this btw? I thought it was fork but that sounded weird considering how Github refer to forks.).

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-05-31T04:46:23+00:00Added an answer on May 31, 2026 at 4:46 am

    As described in the GitHub help page for fork, the best policy here is to:

    • define a remote called upstream and pointing to the original repo (the one where the author accepted your pull request)
    • pull from that upstream repo

    Pull in upstream changes

    If the original repo you forked your project from gets updated, you can add those updates to your fork by running the following code:

    $ git fetch upstream
    $ git merge upstream/master
    

    Or you could, after the fetch, reset your master branch to upstream/master, in order to have the exact same history.

    So, when you fork a repo, and clone that forked repo to your workstation:

    • remote ‘origin’ refers to your fork
    • remote ‘upstream’ refers to the original repo that your forked. You need to explicitly add that remote reference to your repo.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure if this is a good place to ask questions like this,
I am not sure if this will be right place to ask the question,
I am not sure if this is the write place to ask the question.
(Not sure if this is an okay place to ask, but i'll try). After
I am not sure whether this is the right place to ask this question.
First of all I'm not sure if this is the right place to ask
I am not sure if this is the correct place to ask this, but
I'm not sure if this is the best place to ask this question. However,
I'm not sure, if it's the right place here to ask this question. But
hey, i'm not sure if this is the right place to ask this, but

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.