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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:20:52+00:00 2026-06-10T04:20:52+00:00

This is my .git/config configuration file in my repository: [core] repositoryformatversion = 0 filemode

  • 0

This is my .git/config configuration file in my repository:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = git@github.com:<username>/<repository>.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[user]
    name = <username>

I have correctly configured my public ssh key in github. I pushed my changes into this repository from another machine, which where correctly updated into github.

However in my current machine, when I make a git pull request:

git pull origin master

It says "already up to date"

When it’s not the case at all, the updated files in my github repository are not in my local repository.

What can I be doing wrong?

UPDATE:

I’ve tried the following from the answer from Olivier Refalo:

In github and in local the branches are master.

The output to the command:

git for-each-ref --format="local: %(refname:short) <--sync--> remote: %(upstream:short)" refs/heads

Is the following:

local: master <–sync–> remote:

git remove -v returns the following output:

origin git@github.com:username/repository.git (fetch)

origin git@github.com:username/repository.git (push)

  • 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-10T04:20:54+00:00Added an answer on June 10, 2026 at 4:20 am

    I didn’t find out what was the problem so what I did was a new git clone from github in order to get the updated files.

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

Sidebar

Related Questions

I have a config file with the general configuration (in a git repo), and
Suppose I have Git repository like this: git-repo/ directory_1/ directory_2/ directory_3/ This has a
I want to store my local modifications to JBoss config in git. For this,
This is regarding a web.config file Here's the ConfigSection <configSections> <sectionGroup name=HttpExceptionHandler> <section name=errorLog
I did this: git branch --track stats_page to create a separate branch to try
I often do this: git add -u git commit ...discover mistake, fix it... git
I'm quite new to this Git thing and need a little help. I recently
I've followed this tutorial 'Using Git to manage a web site' , using Tower
This seems like the simplest Git question, but I can't find ANYTHING on it.
This question is about rewriting git history. Six months ago I decided to make

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.