[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: having trouble fetching all remote branches
From: |
Francisco Vila |
Subject: |
Re: having trouble fetching all remote branches |
Date: |
Tue, 7 Feb 2012 10:25:53 +0100 |
2012/2/7 David Kastrup <address@hidden>:
> Francisco Vila <address@hidden> writes:
>
>> 2012/2/7 Janek Warchoł <address@hidden>:
>>> My local repository wasn't created with git clone, and i have only one
>>> remote branch ('origin/master'); i cannot push to staging because of
>>> that. I've tried 'git fetch --all', but the other remote branches do
>>> not appear, and i don't see a solution in git fetch description. Any
>>> help?
>>
>> I don't know if this is correct. If not, please say so:
>>
>> git branch --track staging origin/staging
>
> Won't work if git does not fetch origin/staging.
Right, it works for me because I have .git/config properly configured.
Thanks
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com