git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git Confusion
@ 2009-05-29  7:43 Paul Tarjan
  2009-05-29 12:58 ` Jeff King
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Tarjan @ 2009-05-29  7:43 UTC (permalink / raw)
  To: git; +Cc: yury239

Hi all,

I'm new to git and probably doing something very dumb, but I can't
seem to resolve this.

I have a remote repository and a local one. I ssh to the remote
machine, goto the repository directory (not a bare repository), edit a
file and commit it. All if fine.

I leave the remote host and go into the local git directory. Doing
"git pull origin master" says "Already up-to-date." but there is a
file I changed remotely, and I want to pull it locally!

The local repo was made with "git clone http://example.com/.git". I
have no branching (both are on master).

My way around this, is on the remote server, I do a "git push other
master", and then on the local one I do "git checkout HEAD file1" for
each file. Painful and I'm sure it is wrong.

Any ideas? How do you debug this?

Thanks
Paul

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-05-30  1:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29  7:43 Git Confusion Paul Tarjan
2009-05-29 12:58 ` Jeff King
2009-05-29 13:44   ` Jakub Narebski
2009-05-29 13:52     ` Jeff King
2009-05-29 20:24       ` Paul Tarjan
2009-05-29 20:28         ` Avery Pennarun
2009-05-29 20:38         ` Jeff King
2009-05-30  0:41           ` Sitaram Chamarty
2009-05-29 20:45         ` Jakub Narebski
2009-05-30  1:32           ` Sitaram Chamarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).