編程筆記 如何將 git 的 working repository 轉成 (shared) bare repository 本教學示範如何將 git 的 working repository 轉成可分享或提供多用戶貢獻的 bare repository 。 轉換 Repository 執行下面的指令。 1 2 3 git clone --bare \ <ORIGINAL GIT DIRECTORY> \ <TARGET GIT BARE DIRECTORY>