[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 09:42:23 +0100 |
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
git checkout staging
(... commits etc)
git push origin staging
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com