How can I convert a 'normal' Git repository to a bare one? 如何将“普通”Git存储库转换为裸存储库? git
The main difference seems to be: 主要区别彷佛是: ide
in the normal git repository you have a .git
folder inside the repository containing all relevant data and all other files build your working copy 在普通的git存储库中,您在存储库中有一个包含全部相关数据的.git
文件夹,而全部其余文件都构建了您的工做副本 ui
in a bare Git repository, there is no working copy and the folder (let's call it repo.git
) contains the actual repository data 在一个裸Git存储库中,没有工做副本,文件夹(咱们称之为repo.git
)包含实际的存储库数据 spa