标签: git
我一直在设置cgit(gitweb的替代品),它从描述文件中提取Repo的描述。 (.git/description in a normal repo, and /description in a --bare)但是git似乎只是忽略git clone(和git clone --mirror)中的文件,这意味着当你git克隆repo时,描述文件就像你做了一样新git init。
.git/description in a normal repo, and /description in a --bare
git clone
git clone --mirror
答案 0 :(得分:3)
描述文件不是存储库的跟踪部分,并且在克隆期间不会遇到它。这是设计的。其唯一目的是为GitWeb命名回购。