Advertisement
teknoraver

git alternates

Oct 28th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. matteo@turbo:/usr/src/linux$ du -sh .git
  2. 1,3G .git
  3. matteo@turbo:/usr/src/linux$ echo /home/matteo/src/linux/.git/objects >.git/objects/info/alternates
  4. matteo@turbo:/usr/src/linux$ git gc
  5. Counting objects: 21, done.
  6. Delta compression using up to 8 threads.
  7. Compressing objects: 100% (19/19), done.
  8. Writing objects: 100% (21/21), done.
  9. Total 21 (delta 3), reused 8 (delta 2)
  10. Checking connectivity: 6223212, done.
  11. matteo@turbo:/usr/src/linux$ du -sh .git
  12. 6,7M .git
  13. matteo@turbo:/usr/src/linux$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement