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

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

From
GGelonida <gelonida@gmail.com>
Date
Nov 11, 2010, 16:35 UTC
Message-ID
<ibh605$adm$1@dough.gmane.org>
Hi,

For a given project I'd like to have some USB memory sticks, which I'd like to keep up to date.

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.
Now my questions:

1.) Ignore skip / symlinks ----------------------------- The git repository might contain symlinks (as it was created on a linux host)

Is there any way to perform a git clone / pull and just skip any symlink in the working directory

2.) Avoiding file permission issues: Is this sufficient ---------------------------------------------------------

I read about some config setting which should avoid problems with the rather limited file permissions on a FAT file system

git config --add core.fileMode false

3.) Any other special config settings ----------------------------------------- Are there any other special preparations to be done fi I'd like to have a non bare git repository on a memory stick.

Thanks for your suggestions
Next: Junio C Hamano
Message 1 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.