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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:05:23+00:00 2026-06-13T11:05:23+00:00

If I do git checkout master git push I get Everything up-to-date If I

  • 0

If I do

git checkout master

git push

I get

Everything up-to-date

If I go

git pull

I get

Already up-to-date.

If I ssh to my server remotely and I do:

 git status

I get:

On branch master
nothing to commit (working directory clean)

However, the truth is, I DO have a different version of a file locally when compared with the remote one.

How can I solve this, in order to place my local file into the master remote branch ?

  • 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-13T11:05:24+00:00Added an answer on June 13, 2026 at 11:05 am

    I have done git pull hub master and it `catched the file that was not updated´ what does this mean ?

    That means that you did everything correctly on your local machine. You commited the changes correctly, and you pushed it correctly. The not working thing is where changes go from the central (bare) repository, to the other (non-bare) repository with the working directory. You said that a hook is resposible for that, so that does not seem to work.

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

Sidebar

Related Questions

I have a branch called experiment. git checkout master echo 'some changes' > a.txt
Suppose I was on master branch and created a new branch: git checkout -b
I get Already up-to-date messages when trying to merge one branch, 'feature_1', into another,
#lets get the latest git pull #lets switch to branch and do some work
I have created branch with git checkout -b mybranch. It seems that something went
I am looking for some advise with git and push / pull and trying
I've cloned repository A's master branch from git and created my own branch called
In GIT, if I checkout a tag I'll get my working copy to that
So I created a new branch in git by doing the following: git checkout
I use git checkout -b somebranch origin/somebranch to make sure my local branches track

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.