copying objects from another repo?

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

 



I had some missing objects that I managed to locate
in another tree. So - how to get them to my repo?
Here's what I came up with:

cd ~/scm/good_tree
git tag -f foo dfaa7049e9ebe227cfcffc49d3de16716764bcbd
cd ~/scm/bad_tree
git fetch-pack ~/scm/good_tree dfaa7049e9ebe227cfcffc49d3de16716764bcbd

And I repeated this for all missing objects.
But is there a better way to do this?

-- 
MST
-
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]

  Powered by Linux