Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
[root@git6staging drupalfr.git]# ls -la
total 472
drwxrwsr-x 6 drupal-git drupal-git 4096 Feb 25 2011 .
drwxrwsr-x 12171 drupal-git drupal-git 446464 May 12 16:21 ..
drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 branches
-rw-rw-r-- 1 drupal-git drupal-git 668 Feb 25 2011 config
-rw-rw-r-- 1 drupal-git drupal-git 104 Feb 25 2011 description
-rw-rw-r-- 1 drupal-git drupal-git 23 Feb 25 2011 HEAD
lrwxrwxrwx 1 drupal-git drupal-git 32 May 10 09:07 hooks -> /var/git/templates/hooks/project
drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 info
drwxrwsr-x 7 drupal-git drupal-git 4096 Feb 25 2011 objects
drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 refs
[root@git6staging drupalfr.git]# git pack-refs --all --prune
[root@git6staging drupalfr.git]# ls -la
total 476
drwxrwsr-x 6 drupal-git drupal-git 4096 Jun 16 22:55 .
drwxrwsr-x 12171 drupal-git drupal-git 446464 May 12 16:21 ..
drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 branches
-rw-rw-r-- 1 drupal-git drupal-git 668 Feb 25 2011 config
-rw-rw-r-- 1 drupal-git drupal-git 104 Feb 25 2011 description
-rw-rw-r-- 1 drupal-git drupal-git 23 Feb 25 2011 HEAD
lrwxrwxrwx 1 drupal-git drupal-git 32 May 10 09:07 hooks -> /var/git/templates/hooks/project
drwxrwsr-x 2 drupal-git drupal-git 4096 Feb 25 2011 info
drwxrwsr-x 7 drupal-git drupal-git 4096 Feb 25 2011 objects
-rw-r--r-- 1 root drupal-git 85 Jun 16 22:55 packed-refs
drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 refs
[root@git6staging drupalfr.git]# cat packed-refs
# pack-refs with: peeled
c21eae71e2e65aefd86312c82a30908f26b387fe refs/heads/master
[root@git6staging drupalfr.git]# ls -la refs/heads/
total 8
drwxrwsr-x 2 drupal-git drupal-git 4096 Jun 16 22:55 .
drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 ..
[root@git6staging drupalfr.git]# git update-ref -d master
[root@git6staging drupalfr.git]# cat packed-refs
# pack-refs with: peeled
c21eae71e2e65aefd86312c82a30908f26b387fe refs/heads/master
[root@git6staging drupalfr.git]# git update-ref -d master c21eae71e2e65aefd86312c82a30908f26b387fe
error: unable to resolve reference master: No such file or directory
[root@git6staging drupalfr.git]# ls -la refs/heads
total 8
drwxrwsr-x 2 drupal-git drupal-git 4096 Jun 16 22:55 .
drwxrwsr-x 4 drupal-git drupal-git 4096 Feb 25 2011 ..
[root@git6staging drupalfr.git]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.