Hi,

2012/3/29 Alexey Shein <con...@gmail.com>:
> 29 марта 2012 г. 5:47 пользователь Yasuo Ohgaki <yohg...@ohgaki.net> написал:
>> Hi,
>>
>> I was following the instruction of the pull request page
>>
>> https://qa.php.net/pulls/#repo=php-src
>>
>> The instruction on the page only considered working on
>> master, but php-src has several active branches.
>>
>> I merged this simple patch to master,
>> then cherry-picked the commit to 5.4. and 5.3.
>>
>> git push
>>
>> didn't push all branches, but the current one.
>> So I did
>>
>> git push origin 5.4:PHP-5.4
>> git push origin 5.3:PHP-5.3
>>
>> Is this the way should do or am I doing wrong?
>
> Hi, you did everything right. It seems just your local branches are
> not configured to track remote ones, that's why you pushed only
> master.
> You can check your setup with command
> $ git remote show origin
> Watch out section "Local branches configured for 'git push'), you
> should get something similar to (your local branch names may vary):
>  Local refs configured for 'git push':
>    PHP-5.3                     pushes to PHP-5.3
> (up to date)
>    PHP-5.4                     pushes to PHP-5.4
> (up to date)
>    master                      pushes to master
> (up to date)
>
> If you're not, then track your branches with a command like:
> $ git branch --set-upstream PHP-5.3 origin/PHP-5.3
>
> Hope it helps.

Now I understood what should I do.
Thank you.

--
Yasuo Ohgaki

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to