我有一个裸存储库,它在 refs/heads
中没有 master
的条目。它在哪里存储这个引用?
最佳答案
您应该在 packed-refs
文件中找到您要查找的引用。查看git-pack-refs(1)
documentation更多。具体来说:
When a ref is missing from the traditional
$GIT_DIR/refs
directory hierarchy, it is looked up in this file and used if found.
关于git - 为什么裸存储库没有 refs/heads/master?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18597569/