git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push requires a subsequent git reset --hard ?
@ 2008-07-01 16:51 Neshama Parhoti
  2008-07-01 17:19 ` Jeff King
  2008-07-01 17:29 ` Jakub Narebski
  0 siblings, 2 replies; 6+ messages in thread
From: Neshama Parhoti @ 2008-07-01 16:51 UTC (permalink / raw)
  To: git

Hi all,

I took with me a copy of a local repository to a week away from my station
(just rsync'ed it to my laptop).

On my return, I just "git push myuser@my-station:/my/git/repo" from my laptop.
It seemed to work with no probs.
On my station the git repo got the new commits, as I can see in
git-log, but the actual files were left untouched.

So I need to do something like "git reset --hard HEAD" to get
the changes into the local files.

Is that considered normal ?

or did I do something wrong ?

Thanks,
pnesh

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

end of thread, other threads:[~2008-07-04 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 16:51 git push requires a subsequent git reset --hard ? Neshama Parhoti
2008-07-01 17:19 ` Jeff King
2008-07-01 17:29 ` Jakub Narebski
2008-07-02 13:36   ` Dmitry Potapov
2008-07-04 13:25     ` Neshama Parhoti
2008-07-02 13:45   ` Dmitry Potapov

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).