Skip to contentSkip to conversation

unable to retrieve new files from the server

DISCUSSION Andy 4 participants 6 messages Jun 15, 2016

lore
Share & tools
lore

Andy

author
#0 lore raw

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

Signature · 2 lines
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.
#1 lore raw
Quoted 8 lines · Andy

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?

author
#2 lore raw

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?

Signature · 2 lines
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.
#3 lore raw
Quoted 5 lines · Andy

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

#4 lore raw
In reply to Andy
Quoted 7 lines · Andy

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?

Signature · 3 lines
Jakub Narebski
Poland
ShadeHawk on #git
author
#5 lore raw

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?

Signature · 2 lines
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.