I have read the relevant git documentation:
https://git-scm.com/book/en/v2/Git-Internals-Git-References
I have not found any information about the .git/objects/refs/heads/info
directory; though I understand that .git/objects/refs/heads/pack
is for pack-files.
However, it is permitted to create branches such as:
$ git branch info/my_branch
$ git branch pack/my_branch
which will then be located at .git/objects/refs/heads/info/my_branch
and .git/objects/refs/heads/info/my_branch
.
I am writing a Python script in order to parse my Git objects in a certain way, with one step being to look for all the branch references. I realize now I need to also look into info
and pack
and sort out conflicts.
What is the info
directory typically used for otherwise?