git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: using the same repo with different OS

From
SSStefano Spinucci <virgo977virgo@gmail.com>
Date
Mar 12, 2007, 18:33 UTC
Message-ID
<906f26060703121133o6de42d66y9f3ada50149a852c@mail.gmail.com>
In-Reply-To
<20070228181251.GG5924@spearce.org>
On 2/28/07, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 9 quoted lines
>
> Stefano Spinucci <virgo977virgo@gmail.com> 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

Previous: Shawn O. PearceNext: Johannes Schindelin
Message 9 of 11 in “using the same repo with different OS”
  1. Stefano SpinucciFeb 25, 2007
  2. Stefano SpinucciFeb 25, 2007
  3. Johannes SchindelinFeb 25, 2007
  4. Junio C HamanoFeb 25, 2007
  5. Johannes SchindelinFeb 25, 2007
  6. Junio C HamanoFeb 25, 2007
  7. Stefano SpinucciFeb 28, 2007
  8. Shawn O. PearceFeb 28, 2007
  9. Stefano SpinucciMar 12, 2007
  10. Johannes SchindelinMar 12, 2007
  11. Stefano SpinucciMar 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.