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