d...@dan-linux:~/wine-git$ git branch -a
* (no branch)
   remotes/origin/master
   remotes/origin/stable
d...@dan-linux:~/wine-git$ git checkout master remotes/origin/master
error: pathspec 'master' did not match any file(s) known to git.
error: pathspec 'remotes/origin/master' did not match any file(s)  
known to git.
d...@dan-linux:~/wine-git$ git checkout master origin/master
error: pathspec 'master' did not match any file(s) known to git.
error: pathspec 'origin/master' did not match any file(s) known to git.






Quoting Konstantin Khomoutov <khomou...@gmail.com>:

> On Jan 4, 6:03 am, fester225 <fes...@rucls.net> wrote:
>
>> > > I'm attempting to use Git (1.6.3.3) to bisect Wine.
>> > > When I ran: git bisect start, I got: fatal: invalid reference: master.
>>
>> > > How do I get rid of the error?
>>
>> > What does `git branch` show to you?
>>
>> ~/wine-git$ git branch
>> * (no branch)
>
> That's odd. It means you have no local branches at all, while under
> normal circumstances `git clone` should have created a local branch
> named "master" to thack the same named remote branch.
>
> Now do this:
> 1) Run `git branch -a` -- it also should show you remote branches (if
> any).
> 2) If the output lists the remote branch named "master" (say, "origin/
> master") create the local "master" branch to track it using
>    git checkout master origin/master
>
> If you will not see the remote master branch, I'd recommend starting
> afresh with `git clone`.
> If you will see a bunch of remote branches but no "master", then it
> means wine developers have their own peculiar naming scheme for their
> lines of work, -- ask them what branch you're supposed to work with.
> This branch can be specified in a call to `git clone` if it's not
> named "master".
>
> --
>
> You received this message because you are subscribed to the Google   
> Groups "Git for human beings" group.
> To post to this group, send email to git-us...@googlegroups.com.
> To unsubscribe from this group, send email to   
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at   
> http://groups.google.com/group/git-users?hl=en.
>
>
>




"There is only one basic human right, the right to do as you damn well
please. And with it comes the only basic human duty, the duty to take the
consequences." -- PJ O'Rourke

--

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.


Reply via email to