git - What are references that are not tags or branch heads? -
git - What are references that are not tags or branch heads? -
when git ls-remote
like:
679ba3cdb7201763c0a243e0169a7f8fd210b5b1 head 045b31588f934722cd9df1570987ed84b6e9b070 refs/heads/feature/proto-version-update 7b278f052ab47c49a6c1ac9bd12d05b72a4af584 refs/heads/iml 679ba3cdb7201763c0a243e0169a7f8fd210b5b1 refs/heads/master 52dc74d4b4775d7e24534b87908fb5efcd6d3118 refs/pull-requests/14/from 453f675541cd12e01cb05a7f8a63fadfb26e62fa refs/pull-requests/14/merge
i know lastly 2 entries refs/pull-requests/14/merge
for - they're created our central repo (stash) manage pull requests. (i have no intention of modifying them, i'm curious , want peek under hood, understand git little improve on way)
but don't understand are. don't appear branches or tags (adding --heads --tags
command hides them), , fetch doesn't pull them. how can fetch them locally can inspect them further?
what they? how can inspect them?
(the git references , git ls-remote
documentation mentions heads, tags , remotes).
i have found reply part of question:
as described in documentation, git fetch
fetches references specified in remote.<repository>.fetch
config parameter. don't see them because have:
$ git config --get remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
explicitly running git fetch origin +:refs/pull-requests/14/merge
pull locally.
git
Comments
Post a Comment