Re: using the same repo with different OS

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

 



On 2/28/07, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote:

Stefano Spinucci <virgo977virgo@xxxxxxxxx> wrote:
> Than I'm asking how you'd setup repos to work on some linux/windows
> machines, transferring data only with an USB disk.

Just create a bare repository on the USB stick and push/fetch to it.
It won't have a checkout directory or an index, the two sticking
points with mmap() on Windows and with a FAT32 filesystem being
accessed through Git by both Linux and Windows.

Needing to have my repos backupped and only on fat32 usb keys, I was
thinking to have the following layout:
on usb key one --> repo.linux
on usb key two --> repo.win

Then, on repo.win, I'll do:
# before daily work on windows
fetch from repo.linux
# after daily work on windows
push to repo.linux

Otherwise, on repo.linux:
# before nightly work on linux
fetch from repo.windows
# after nightly work on linux
push to repo.windows

It's possible, or I need a third bare repository between windows and linux ???

thanks

---
Stefano Spinucci
-
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]