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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:27:24+00:00 2026-06-05T08:27:24+00:00

This example is after the octocat example on the github website under ‘step 3:

  • 0

This example is after the octocat example on the github website under ‘step 3: configure remotes’:

git remote add upstream git://github.com/octocat/Spoon-Knife.git
git fetch upstream

As far as I understand after doing these commands the changes the github user octocat has made since I cloned the repo are now implemented in my local repo of the project.
But suppose that after I execute the above commands the user octocat again makes changes in the project.

Q1: Will all changes now be updated automatically to my local folder? (I suspect not)

If the answer to Q1 is no:

Q2.1: In order for me to update the new changes again, do I only need to execute the single command git fetch upstream again to update the new changes?

Q2.2: Can I get a log of only those changes done in that latest fetch?

  • 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-05T08:27:28+00:00Added an answer on June 5, 2026 at 8:27 am

    Q1: No. Git does not poll the remotes for changes. You have to command git to pull down changes with git fetch (or pull).

    However, if your branch is tracking the remote branch (and it likely is), then when you issue git status git will tell you whether you branch is ahead or behind the remote. If you’re ahead, then you’ve made commits while nothing has changed on the remote. If you’re behind, then new commits have been added to the remote.

    Q2: Yes. However, be aware that git fetch only pulls the changes down. It does not merge them into your current branch. So until you actually merge them, you won’t “see” the changes. They live in a separate branch – in this case, upstream/master (assuming master is the branch in question).

    When you’ve examined the changes and you’re ready to merge them in to your local branch, you can do so with:

    git merge upstream/master
    

    Q2.2: Yes. This is why doing git fetch is useful. It makes it easy to see what the changes are, versus git pull, where it does the fetch and merge in one operation. While you still can get a list of the changes in that case, it’s slightly more difficult.

    In your case, where you are doing a git fetch, to see the changes made, do git diff upstream/master.

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

Sidebar

Related Questions

After installing some package with pip from vcs like this pip install git+https://github.com/kennethreitz/requests.git@355b97165c#requests how
Starting from this example: http://support.microsoft.com/kb/828736 I have tried to add a test function in
I have modeled an AJAX search after this example a long time ago. I
In this example from MS , you'll notice that after we read a byte
After getting data from a database as UTF8 my text looks like this (example):
I'm working from this example and I am running into this error after adding
I am using this adobe example under reading and writing objects to try and
I am facing some problems after using this example. In fact this is a
This example allows you to choose where to save a file to disk after
After I fetch data from SQLite, in this example I have city and state.

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.