From: Ferry Huberts <mailings@hupie.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Gelonida <gelonida@gmail.com>, git@vger.kernel.org
Subject: Re: git clone / git pull to USB memory stick (FAT) and symlinks
Date: Fri, 12 Nov 2010 16:06:19 +0100 [thread overview]
Message-ID: <4CDD57EB.7050200@hupie.com> (raw)
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:
> 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
next prev parent reply other threads:[~2010-11-12 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 16:35 git clone / git pull to USB memory stick (FAT) and symlinks Gelonida
2010-11-11 17:54 ` Junio C Hamano
2010-11-11 18:03 ` Gelonida
2010-11-11 18:09 ` Gelonida
2010-11-11 18:10 ` Gelonida
2010-11-12 15:06 ` Ferry Huberts [this message]
2010-11-12 15:59 ` Santi Béjar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDD57EB.7050200@hupie.com \
--to=mailings@hupie.com \
--cc=gelonida@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).