From: Paul Tarjan <ptarjan@gmail.com>
To: git@vger.kernel.org
Cc: yury239@gmail.com
Subject: Git Confusion
Date: Fri, 29 May 2009 00:43:35 -0700 [thread overview]
Message-ID: <815c8c330905290043i4c99a753jd5ad9bdd4cf18bbc@mail.gmail.com> (raw)
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
next reply other threads:[~2009-05-29 7:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 7:43 Paul Tarjan [this message]
2009-05-29 12:58 ` Git Confusion 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=815c8c330905290043i4c99a753jd5ad9bdd4cf18bbc@mail.gmail.com \
--to=ptarjan@gmail.com \
--cc=git@vger.kernel.org \
--cc=yury239@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).