Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 package-refs 文件创建裸存储库。命令“git init --bare”创建没有 pack-refs 文件的裸存储库。我必须做什么?
packed-refs 文件只会发生一次:
git gc
git repack
因此,可以理解的是,初始的空(裸或不裸)存储库没有任何打包文件。