最近工作上都是用 git 進行版本管理,但是發現過了一段時間, .git 目錄越來越肥大了
在網路上發現,可以用 git gc 指令清除 .git 目錄中沒有用使用到或是多餘的檔案。
git gc
This entry was posted on 星期四, 十二月 30th, 2010 at 3:58 下午 and is filed under 程式語言. 你可以透過RSS 2.0獲知這篇文章的最新留言。 您現在可以 留下回應,或是從自己的網誌 引用(trackback)這篇文章。
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / 變更 )
You are commenting using your Twitter account. ( Log Out / 變更 )
You are commenting using your Facebook account. ( Log Out / 變更 )
連結到 %s
有新迴響時用Email通知我
Get every new post delivered to your Inbox.