Re: How to make "git push/pull" work in non-clone repo?
- From
Frans Klaver <fransklaver@gmail.com>
- Date
- Nov 3, 2011, 15:07 UTC
- Message-ID
- <CAH6sp9M1PxxHqKC-M0rtsEbdsmY1vBb_m_6G=266QkVtTDE=EQ@mail.gmail.com>
- In-Reply-To
- <CANiMyiFfiLnK8-q7vTZ9VAtkW8ip2NQfpR4iaU2oSnnonVDuUA@mail.gmail.com>
Hi,
On Thu, Nov 3, 2011 at 3:59 PM, Hong-Ming Su <halleyinvent@gmail.com> wrote:
Show 5 quoted lines
> 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