git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to make "git push/pull" work in non-clone repo?
@ 2011-11-03 14:59 Hong-Ming Su
  2011-11-03 15:07 ` Frans Klaver
  2011-11-03 16:09 ` Kirill Likhodedov
  0 siblings, 2 replies; 6+ messages in thread
From: Hong-Ming Su @ 2011-11-03 14:59 UTC (permalink / raw)
  To: git

Hi,

I create a repo X with git init. After several commit in X, I clone a
bare repo Y from X.
I try to continue work in X, and push to/pull from Y. The command git
push and git pull fails. I see the error message but I do not know
which git command can fix that problem.
Then I clone Z from Y. git push/pull works in Z.
How to make "git push/pull" the same in X as in Z?

Thanks,
Hong-Ming

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

end of thread, other threads:[~2011-11-04  3:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 14:59 How to make "git push/pull" work in non-clone repo? Hong-Ming Su
2011-11-03 15:07 ` Frans Klaver
2011-11-03 16:09 ` Kirill Likhodedov
2011-11-03 16:10   ` Hong-Ming Su
2011-11-03 17:00     ` Andreas Schwab
2011-11-04  3:33       ` Hong-Ming Su

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