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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:15:53+00:00 2026-05-24T16:15:53+00:00

Been using git for a few months now and this one has me stumped.

  • 0

Been using git for a few months now and this one has me stumped. We have a git repo on AWS EC2. Syncing is fine and works right out of the box using gitosis. The only issue we have is when you pull you sometimes get an older version of some files. My setup is like this:

[core]

  repositoryformatversion = 0
  filemode = true
  bare = false
  logallrefupdates = true
  ignorecase = true

[remote “origin”]

    fetch = +refs/heads/*:refs/remotes/origin/*
    url = git@blahblahblah:/Project

[branch “master”]

    remote = origin
    merge = refs/heads/master

git remote show origin

  • remote origin
    Fetch URL: git@blahblahblah:/Project
    Push URL: git@blahblahblah:/Project
    HEAD branch: master
    Remote branch:

    master tracked
    Local branch configured for ‘git pull’:
    master merges with remote master
    Local ref configured for ‘git push’:
    master pushes to master (up to date)

I work from my own branch, lets say mybranch and merge to the master. The strange thing is the latest files are present on the server as I can see them through gitk but it does not seem to pull the very latest.

Any ideas?

  • 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-24T16:15:54+00:00Added an answer on May 24, 2026 at 4:15 pm

    If you “git push” a branch to the origin repository you are updating the git repository but not the files on disk. You need to “git checkout ” on the origin (EC2) repository in order to apply the repository to the local files.

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

Sidebar

Related Questions

I've been using Git now for a couple of months on a project with
I've been using Git for the past few months and love it. I looked
Our project has been using Git for a week or so now, and we're
I've been using git for some time now on Windows (with msysGit) and I
I have been using git to keep two copies of my project in sync,
For the last 6 months or so I've been using a 2-way Git mirror
I've been planning on using GIT for version control. However, I have a prolly
I've been using Git on Linux for about a year, and everything works fine.
Been using PHP/MySQL for a little while now, and I'm wondering if there are
We have been using CruiseControl for quite a while with NUnit and NAnt. For

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.