Suggested command in git-filter-branch(1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+* Remove the original refs backed up by git-filter-branch: say `git
+  for-each-ref \--format="%(refname)" refs/original/ | xargs -n 1 git
+  update-ref -d`.

This is sick.  I would normally just tell people to use 'rm
-rf .git/refs/original', if for some bizarre reason gc has packed
the .refs/original refs then I might do something like the above or
edit .git/packed-refs

How about 'git update-ref -dr refs/original' (and making that work) ?

Sam

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]