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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:05:52+00:00 2026-05-19T17:05:52+00:00

git version 1.7.3.5 I have the following branches: git branch image master * video

  • 0
git version 1.7.3.5

I have the following branches:

git branch
  image
  master
* video

I did some work at the office. And when I came home I always update on my home’s notebook.

However, when I did a git remote show origin I get the following:

  Local refs configured for 'git push':
    image   pushes to image  (up to date)
    master  pushes to master (fast-forwardable)
    video   pushes to video  (local out of date)

So I did a git pull for all of these branches:

git pull origin image
git pull origin master
git pull origin video

When I do a git status on the video and image branch I get:

 nothing to commit (working directory clean)

When I do a git status on the master branch I get:

Your branch is ahead of 'origin/master' by 5 commits.

Which I don’t understand the following (fast-forwardable) and (local out of date)?

But in the git status for video it saids its up to date?

Do I need to push my master if it is ahead by 5 commits?

Many thanks for any suggestions

  • 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-19T17:05:53+00:00Added an answer on May 19, 2026 at 5:05 pm

    git remote show origin compares your local repository with the remote:

    • fast-forwardable means you can push your local changes to the remote branch.
    • local out of date means your local branch is behind the remote branch and you should pull from it.

    git status compares your local working directory with the current commit of the current branch (aka HEAD). Additionally it compares your local branch with the (local!) tracking copy of the remote branch (origin/master), hence the Your branch is ahead of 'origin/master' by 5 commits.

    To solve the divergence between git status (which shows only local data) and git remote show origin (which shows “live” remote data) you should run git remote update origin which will update your local tracking branches. It will update your local origin/master to the state of the remote’s master. After that git status should give you something like
    Your branch is behind 'origin/master' by X commits, and can be fast-forwarded.

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

Sidebar

Related Questions

If I have a public Git repository that contains 3 branches like the following:
I have a git repo which has a few branches - there's the master
I am using git version 1.7.2.3 and I have the following situation: Clone git
I recently started using Git as my version control system for some Cocoa projects
I have the following git status and I need to get rid of pluginA
I have been using Git for my version control for a while now, but
I've been using git for some time now and understand how commits work, tags,
I have the following git repositories: ReusableA ReusableB ReusableC Application1 ReusableB and C both
I have git version 1.7.2.2 and curl 7.21.1 on my MacOS. I'm trying to
We have the following problem while running the git fsck --full --strict command: error:

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.