Re: Modifying a bare repo directly

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

 



Julian Goacher <julian.goacher@xxxxxxxxx> wrote:
> Is it possible to modify a bare repo directly? e.g. is it possible to
> insert a file into a bare repo without first cloning a non-bare copy?
> I'm thinking along the lines of a command or sequence of commands that
> modifies the file index and then copies the file blob into /objects,
> but in a situation where the new file exists separately from the
> target repo.

Yes.  You can use the commands Ævar and Jeff talked about as
(those are probably the easiest).  "git fast-import" is also
great to avoid using an index entirely; it can be much faster
for mass modifications.



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