# unable to retrieve new files from the server

6 messages from 2010-09-11 to 2010-09-11. Participants: Andy, Ævar Arnfjörð Bjarmason, Tomas Carnecky, Jakub Narebski.
Thread: https://gitlist.dev/t/25076

## Andy, 2010-09-11 16:46

Subject: unable to retrieve new files from the server
Message-ID: <1284223572247-5521801.post@n2.nabble.com>
URL: https://gitlist.dev/e/1284223572247-5521801.post%40n2.nabble.com

```

i did a git clone https//..../abc.git.  everything was fine.

Now there are new files on the server and I did a git pull and it said
everything is up to date.  But I still do not see the new files on my
machine.  

How do I pull all new files down to my machine?

Sorry, I'm new to Git.

Thanks
-- 
View this message in context: http://git.661346.n2.nabble.com/unable-to-retrieve-new-files-from-the-server-tp5521801p5521801.html
Sent from the git mailing list archive at Nabble.com.

```

## Ævar Arnfjörð Bjarmason, 2010-09-11 16:51

Subject: Re: unable to retrieve new files from the server
Message-ID: <AANLkTimkHjsyaNWV16DccSC-cQpVSPJfi56asMbGtPkX@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimkHjsyaNWV16DccSC-cQpVSPJfi56asMbGtPkX%40mail.gmail.com
In-Reply-To: <1284223572247-5521801.post@n2.nabble.com>

```
On Sat, Sep 11, 2010 at 16:46, Andy <hoangtu69@yahoo.com> wrote:
>
> i did a git clone https//..../abc.git.  everything was fine.
>
> Now there are new files on the server and I did a git pull and it said
> everything is up to date.  But I still do not see the new files on my
> machine.
>
> How do I pull all new files down to my machine?

Did you commit those new files? And did you commit them to the tree
"git pull" is pulling from?

```

## Andy, 2010-09-11 16:55

Subject: Re: unable to retrieve new files from the server
Message-ID: <1284224128706-5521820.post@n2.nabble.com>
URL: https://gitlist.dev/e/1284224128706-5521820.post%40n2.nabble.com
In-Reply-To: <AANLkTimkHjsyaNWV16DccSC-cQpVSPJfi56asMbGtPkX@mail.gmail.com>

```

I did not commit these files.  These files were committed by others.  All I
want is to make sure my local copy has all the latest from the server.

What command should I use?


-- 
View this message in context: http://git.661346.n2.nabble.com/unable-to-retrieve-new-files-from-the-server-tp5521801p5521820.html
Sent from the git mailing list archive at Nabble.com.

```

## Tomas Carnecky, 2010-09-11 17:27

Subject: Re: unable to retrieve new files from the server
Message-ID: <4C8BBC18.5070905@dbservice.com>
URL: https://gitlist.dev/e/4C8BBC18.5070905%40dbservice.com
In-Reply-To: <1284224128706-5521820.post@n2.nabble.com>

```
On 9/11/10 6:55 PM, Andy wrote:
> 
> I did not commit these files.  These files were committed by others.  All I
> want is to make sure my local copy has all the latest from the server.
> 
> What command should I use?

If you are using dumb http, you need to run 'git update-server-info'
after each push to the server. Otherwise pull won't see the new commits.

tom

```

## Jakub Narebski, 2010-09-11 17:41

Subject: Re: unable to retrieve new files from the server
Message-ID: <m3mxrokwkw.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3mxrokwkw.fsf%40localhost.localdomain
In-Reply-To: <1284223572247-5521801.post@n2.nabble.com>

```
Andy <hoangtu69@yahoo.com> writes:

> I did a git clone https://..../abc.git.  everything was fine.
> 
> Now there are new files on the server and I did a git pull and it said
> everything is up to date.  But I still do not see the new files on my
> machine.  
> 
> How do I pull all new files down to my machine?

Did those files were comitted?  If you are using "dumb" HTTP
transport, is git-update-server-info run on server after committing?

-- 
Jakub Narebski
Poland
ShadeHawk on #git

```

## Andy, 2010-09-11 20:08

Subject: Re: unable to retrieve new files from the server
Message-ID: <1284235706547-5522133.post@n2.nabble.com>
URL: https://gitlist.dev/e/1284235706547-5522133.post%40n2.nabble.com
In-Reply-To: <m3mxrokwkw.fsf@localhost.localdomain>

```

yes, those files were committed already but that's not the issue.  Once
again, here's what I want to do.

Everyday, I want to synchronize my local working directory with the server
so that I have the latest before I start working.  What's the simplest way
to do it using git?
-- 
View this message in context: http://git.661346.n2.nabble.com/unable-to-retrieve-new-files-from-the-server-tp5521801p5522133.html
Sent from the git mailing list archive at Nabble.com.

```
