Guest User

Untitled

a guest
Oct 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. [root@git6staging drupalfr.git]# ls -la
  2. total 472
  3. drwxrwsr-x 6 drupal-git drupal-git 4096 Feb 25 2011 .
  4. drwxrwsr-x 12171 drupal-git drupal-git 446464 May 12 16:21 ..
  5. drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 branches
  6. -rw-rw-r-- 1 drupal-git drupal-git 668 Feb 25 2011 config
  7. -rw-rw-r-- 1 drupal-git drupal-git 104 Feb 25 2011 description
  8. -rw-rw-r-- 1 drupal-git drupal-git 23 Feb 25 2011 HEAD
  9. lrwxrwxrwx 1 drupal-git drupal-git 32 May 10 09:07 hooks -> /var/git/templates/hooks/project
  10. drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 info
  11. drwxrwsr-x 7 drupal-git drupal-git 4096 Feb 25 2011 objects
  12. drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 refs
  13. [root@git6staging drupalfr.git]# git pack-refs --all --prune
  14. [root@git6staging drupalfr.git]# ls -la
  15. total 476
  16. drwxrwsr-x 6 drupal-git drupal-git 4096 Jun 16 22:55 .
  17. drwxrwsr-x 12171 drupal-git drupal-git 446464 May 12 16:21 ..
  18. drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 branches
  19. -rw-rw-r-- 1 drupal-git drupal-git 668 Feb 25 2011 config
  20. -rw-rw-r-- 1 drupal-git drupal-git 104 Feb 25 2011 description
  21. -rw-rw-r-- 1 drupal-git drupal-git 23 Feb 25 2011 HEAD
  22. lrwxrwxrwx 1 drupal-git drupal-git 32 May 10 09:07 hooks -> /var/git/templates/hooks/project
  23. drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 info
  24. drwxrwsr-x 7 drupal-git drupal-git 4096 Feb 25 2011 objects
  25. -rw-r--r-- 1 root drupal-git 85 Jun 16 22:55 packed-refs
  26. drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 refs
  27. [root@git6staging drupalfr.git]# cat packed-refs
  28. # pack-refs with: peeled
  29. c21eae71e2e65aefd86312c82a30908f26b387fe refs/heads/master
  30. [root@git6staging drupalfr.git]# ls -la refs/heads/
  31. total 8
  32. drwxrwsr-x 2 drupal-git drupal-git 4096 Jun 16 22:55 .
  33. drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 ..
  34. [root@git6staging drupalfr.git]# git update-ref -d master
  35. [root@git6staging drupalfr.git]# cat packed-refs
  36. # pack-refs with: peeled
  37. c21eae71e2e65aefd86312c82a30908f26b387fe refs/heads/master
  38. [root@git6staging drupalfr.git]# git update-ref -d master c21eae71e2e65aefd86312c82a30908f26b387fe
  39. error: unable to resolve reference master: No such file or directory
  40. [root@git6staging drupalfr.git]# ls -la refs/heads
  41. total 8
  42. drwxrwsr-x 2 drupal-git drupal-git 4096 Jun 16 22:55 .
  43. drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 ..
  44. [root@git6staging drupalfr.git]#
Add Comment
Please, Sign In to add comment