Thiago Farina writes:
> On Sat, Jul 21, 2012 at 4:33 PM, Junio C Hamano wrote:
>> Yes.
>>
>>> Hence does not make sense to ask git to do "push origin master" while
>>> inside feature-work branch.
>> ...
>> No. As long as you know your master is ready and suitable to be
>> published when you ask
On Sat, Jul 21, 2012 at 4:33 PM, Junio C Hamano wrote:
> Yes.
>
>> Hence does not make sense to ask git to do "push origin master" while
>> inside feature-work branch.
>
> No. As long as you know your master is ready and suitable to be
> published when you ask "push", the command perfectly makes
Thiago Farina writes:
> Do'h, now I can see the idiocy that I was doing.
>
> If I'm understanding this better,
> $ git push origin master
> tells git to push to remote origin, the contents of my master branch.
Yes, add "to the 'master' at the 'origin'" at the end of the
sentence and you are perf
On Fri, Jul 20, 2012 at 10:58 PM, PJ Weisberg
wrote:
> In your original email, you had one command that did what you wanted
> and one that didn't.
>
> $ git push origin master
> $ git push origin feature-work
>
> Can you spot the difference between them?
>
Do'h, now I can see the idiocy that I was
On Fri, Jul 20, 2012 at 6:40 PM, Thiago Farina wrote:
> On Fri, Jul 20, 2012 at 4:19 PM, PJ Weisberg
> wrote:
>> On Fri, Jul 20, 2012 at 8:49 AM, Thiago Farina wrote:
>>
>>> What I'm looking for is to upload/create the remote branch in github
>>> from inside my local branch, without having to ch
On Fri, Jul 20, 2012 at 4:19 PM, PJ Weisberg
wrote:
> On Fri, Jul 20, 2012 at 8:49 AM, Thiago Farina wrote:
>
>> What I'm looking for is to upload/create the remote branch in github
>> from inside my local branch, without having to checkout master in
>> order to do so.
>
> In that case, do exactl
On Fri, Jul 20, 2012 at 8:49 AM, Thiago Farina wrote:
> What I'm looking for is to upload/create the remote branch in github
> from inside my local branch, without having to checkout master in
> order to do so.
In that case, do exactly what you did, except don't checkout master.
-PJ
Gehm's Cor
Thiago Farina writes:
> $ git push origin master # here I expected it would working pushing my
> commits to a feature-work branch in github. Or if I omit master it
> gives me a [rejected] error.
> Everything up-to-date.
If your workflow is to push one branch at a time, and you have the same
nami
On Fri, Jul 20, 2012 at 12:46 PM, Junio C Hamano wrote:
> Thiago Farina writes:
>
>> How can I push a working branch to github inside it?
>>
>> E.g:
>>
>> # On master:
>> $ git checkout -b feature-work
>>
>> # On feature-work
>> # vi, hack, commit, ready to push
>> $ git push origin master # here
On Fri, 20 Jul 2012 12:26:09 -0300
Thiago Farina wrote:
> How can I push a working branch to github inside it?
>
> E.g:
>
> # On master:
> $ git checkout -b feature-work
>
> # On feature-work
> # vi, hack, commit, ready to push
> $ git push origin master # here I expected it would working push
On Fri, Jul 20, 2012 at 8:26 AM, Thiago Farina wrote:
> Hi,
>
> How can I push a working branch to github inside it?
>
> E.g:
>
> # On master:
> $ git checkout -b feature-work
>
> # On feature-work
> # vi, hack, commit, ready to push
> $ git push origin master # here I expected it would working pu
Thiago Farina writes:
> How can I push a working branch to github inside it?
>
> E.g:
>
> # On master:
> $ git checkout -b feature-work
>
> # On feature-work
> # vi, hack, commit, ready to push
> $ git push origin master # here I expected it would working pushing my
"git push origin master" is a
Hi,
How can I push a working branch to github inside it?
E.g:
# On master:
$ git checkout -b feature-work
# On feature-work
# vi, hack, commit, ready to push
$ git push origin master # here I expected it would working pushing my
commits to a feature-work branch in github. Or if I omit master it
13 matches
Mail list logo