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

Re: git clone / git pull to USB memory stick (FAT) and symlinks

From
Ferry Huberts <mailings@hupie.com>
Date
Nov 12, 2010, 15:06 UTC
Message-ID
<4CDD57EB.7050200@hupie.com>
In-Reply-To
<7vk4kjhhjh.fsf@alter.siamese.dyndns.org>

IIRC then a FAT filesystem will screw up your repository. Is that still the case?

We had a few problems with that at work which is why I advised against it.
On 11/11/2010 06:54 PM, Junio C Hamano wrote:
Show 30 quoted lines
> Gelonida <gelonida@gmail.com> writes:
>
>> I thought about cloning a remote git repository onto the stick
>> and performing
>> - regular pulls in order to update the USB stick
>> - occasional pushes in orderto publish changes performed on the stick.
> ... missing is the reason why this is done to a USB memory stick.  More
> specifically,...
>
>> 1.) Ignore skip / symlinks
>> 2.) Avoiding file permission issues: Is this sufficient
> These become non-issues _if_ the reason you are putting this on an USB
> stick is to safekeep and sneakernet the project data, and are not
> interested in having a working tree on the stick, which I often find is
> the use case after grilling people who ask about placing git repositories
> on an USB stick.
>
> And the commands to interact with such a repository without a working tree
> are to "push" (into it), and "fetch" (from it).  IOW, you do not "pull"
> into USB stick.
>
> If you do need a working tree on the stick, and the stick has a FAT
> derived filesystem (which would be the most common), then you would need
>
>> git config --add core.fileMode false
> and perhaps "core.symlinks false" also would help
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
grtz
-- 
Ferry Huberts
Previous: GelonidaNext: Santi Béjar
Message 6 of 7 in “git clone / git pull to USB memory stick (FAT) and symlinks”
  1. GelonidaNov 11, 2010
  2. Junio C HamanoNov 11, 2010
  3. GelonidaNov 11, 2010
  4. GelonidaNov 11, 2010
  5. GelonidaNov 11, 2010
  6. Ferry HubertsNov 12, 2010
  7. Santi BéjarNov 12, 2010

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.