I think you're pushing to a non-bare repo, which isn't recommended. http://gitready.com/advanced/2009/02/01/push-to-only-bare-repositories.html
-Nick On Tue, Dec 15, 2009 at 10:47 PM, Nick Cody <[email protected]>wrote: > I have two computers. Computer A is main. On Computer B, I have a > clone of the repository on A. To push changes from B to A, I do: > > git commit -a > git push > > Remote setup seems to work in .git/config. Files seem to fly. > > On Computer A, the push is registered, I verify this with GitX or git > log... but local files does not change o n A. On Computer A, I need to > issue: > > git reset --hard > > I do not understand why the push from B didn't just update the local > repo on A? > > TIA for any help, > Nick > > -- > > You received this message because you are subscribed to the Google Groups > "GitHub" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<github%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/github?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/github?hl=en.
