ORIG_HEAD, FETCH_HEAD, MERGE_HEAD etc

前端 未结 4 1253
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 13:26

There\'s a lot of useful git references (what is the exact name for this?), e.g. HEAD, ORIG_HEAD, FETCH_HEAD, MERGE_HEAD,

4条回答
  •  北海茫月
    2020-12-04 13:36

    These references are called pointers. They are just regular pointers in programmer terms to tree-ish entities that exist within Git. Note that a tree-ish is anything that consists of at least one commit, i.e. a branch, tag, stash or something like HEAD. Regarding a complete list, I think the only one that exists is the manual:

    http://git-scm.com/documentation

    While there is no complete list of the available special pointers like HEAD The manual does cover the complete list of available pointers therein, although they are kind of hard to find.

提交回复
热议问题