[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patches to apply
From: |
Peekay Ex |
Subject: |
Re: patches to apply |
Date: |
Wed, 2 Nov 2011 13:22:18 +0000 |
David/Carl
On Wed, Nov 2, 2011 at 6:01 AM, David Kastrup <address@hidden> wrote:
> Peekay Ex <address@hidden> writes:
>
>>>>> Well, use whatever your tracking branch is called. What does
>>>>> git branch -r
>>>>> say?
>>>>
>>>>address@hidden:~/lilypond-git$ git branch -r
>>>> origin/HEAD -> origin/master
>>>> origin/master
>>>
>>>
>>> I would do:
>>>
>>> git checkout dev/staging
>>> git push origin dev/staging
>>>
>>> In order to get my changes into dev/staging on origin.
>>>
>>
>> Unfortunately not, I get
>>
>> address@hidden:~/lilypond-git$ git checkout dev/staging
>> error: pathspec 'dev/staging' did not match any file(s) known to git.
>>
>> --snip--
>>
>> I need to do some more homework on GIT and Branches.
>
> You just don't have any branches except master on your computer.
>
> Make sure that in .git/config, you have the line
>
> fetch = +refs/heads/*:refs/remotes/origin/*
>
> (no other fetch lines should be necessary) in the section [remote
> "origin"]. Then do
>
> git fetch
>
> After that, your repository should be populated with _every_ remote
> branch available.
>
Thanks to you both, that helped a lot.
I'm able to push to dev/staging now.
Regards
--
--
James
- Re: patches to apply, (continued)
- Re: patches to apply, Graham Percival, 2011/11/01
- Re: patches to apply, David Kastrup, 2011/11/01
- Re: patches to apply, Peekay Ex, 2011/11/01
- Re: patches to apply, David Kastrup, 2011/11/01
- Re: patches to apply, Peekay Ex, 2011/11/01
- Re: patches to apply, David Kastrup, 2011/11/01
- Re: patches to apply, Peekay Ex, 2011/11/01
- Re: patches to apply, Carl Sorensen, 2011/11/01
- Re: patches to apply, Peekay Ex, 2011/11/02
- Re: patches to apply, David Kastrup, 2011/11/02
- Re: patches to apply,
Peekay Ex <=
- Re: patches to apply, Julien Rioux, 2011/11/02