From: Frans Klaver Date: Thu, 03 Nov 2011 15:07:36 GMT Subject: Re: How to make "git push/pull" work in non-clone repo? Message-ID: In-Reply-To: Hi, On Thu, Nov 3, 2011 at 3:59 PM, Hong-Ming Su wrote: > 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. Care to tell us which commands you use and which errors you get? It will give clues about how to help. > 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? Same here. Cheers, Frans