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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:43:40+00:00 2026-06-13T12:43:40+00:00

Background: In a network, there are two PCs, one using Windows 7 and other

  • 0

Background:

  • In a network, there are two PCs, one using Windows 7 and other using Ubuntu 12.10 as their OSs.
  • Both have Git installed. Windows one from http://git-scm.com/download/win and Ubuntu one from apt-get install git-core.
  • Ubuntu PC has Samba configured so that it is possible to access Windows PCs in the network using their hostnames.
  • Using git clone http://windowspc/system/.git, it was possible to create a clone of the repository from Windows PC in the Ubuntu PC.

Problem:

  • Changes are made into the code in the Windows PC. Commands git add . and git commit -m"Comment." are issued in the Git prompt in the Windows PC.
  • Back in Ubuntu PC, when git fetch and git pull commands are issues, the message Already up-to-date is presented.
  • However, none of the changes made in the Windows PC appear in the Ubuntu PC.

Question

  • What should be the path to be taken to get updated files from Windows PC to the Ubuntu PC?
  • 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-13T12:43:41+00:00Added an answer on June 13, 2026 at 12:43 pm

    I’m used to doing a ‘git push’ after doing a commit.

    I would create a bare repository that is shared by both your windows machine and your Ubuntu machine. I would then amend your instructions to include a ‘git push’ after you commit your changes. You could then use gitk to make sure that everything is up to date. BTW I find that the best way to access git under Windows is by using cygwin.

    My method of doing a creation of a bare repository that is shared between Windows and Unix/Linux is:

    cd /cygdrive/c/source
    git clone --bare --no-hardlinks -l . /cygdrive/s/shareddir/source.git
    

    To connect the new bare repository back to the original source code:

    cd /cygdrive/c/source
    git remote add origin /cygdrive/s/shareddir/source.git
    git remote update
    git remote -v
    git branch --set-upstream master origin/master
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: Filemaker Pro 10+ have gained functionality to send emails using SendMail via SMTP.
there's an audio application which streams files via network, everything works fine but one
I have an app that crawls a network looking for movies, their titles, length
Some Background We have a team of four developers and we have two web
Background tasks being stuff that involves network I/O, disk I/O, or other long-running tasks
I have a tray icon that needs to display two icons: If there is
Background information: This application is .NET 4/C# Windows Forms using SQLite as it's backend.
Background My app takes data off a network stream, and changes values of UI
My program does some network activity in a background thread. Before starting, it pops
Background: I'm using the (fantastic) Vim plugin python-mode , which includes the pep8 linter.

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.