What are the names of nameless puzzles and how do they arise when I set up pulling * from * in git?

I tried to get the remote branch in github in my eclipse and ended up using the configure fetch option from the upstream option in eclipse with * as the value in the local and remote branch field names.

As expected, it moved all the remote branches to my local remote repository tracking section, along with a bunch of numbered brands like

origin/refs/pull/1/head 

Altogether about 30 of them with older commits.

In my github registry I don't see any of them.

Can you help me understand what these remote branches are?

0
git eclipse github
May 30 '15 at 4:57
source share
1 answer

Those ( refs/pull/x ) are refs/pull/x requests.

See the GitHub page on the Check Local Transfer Requests page

 git fetch origin pull/ID/head:BRANCHNAME git checkout BRANCHNAME 

The remote refs/pull/ namespace is read-only. If you try to push any commits there, you will see this error:

 ! [remote rejected] HEAD -> refs/pull/1/head (deny updating a hidden ref) error: failed to push some refs to 'git@github.local:USERNAME/REPOSITORY.git' 
0
May 30 '15 at 6:16
source share



All Articles