# Safe to manually copy git repository?

2 messages from 2008-05-10 to 2008-05-12. Participants: skillzero@gmail.com, Sebastian Harl.
Thread: https://gitlist.dev/t/13462

## skillzero@gmail.com, 2008-05-10 17:57

Subject: Safe to manually copy git repository?
Message-ID: <2729632a0805101057r181b9afftdcaf7c6d0b8895f8@mail.gmail.com>
URL: https://gitlist.dev/e/2729632a0805101057r181b9afftdcaf7c6d0b8895f8%40mail.gmail.com

```
Is it safe to copy the .git directory to a different machine and/or
location and start using it from there? Or are there machine and/or
location-specific things in the repository? Setting up a copy with git
init, git fetch, etc. doesn't copy hooks, etc. so I'd like to just be
able to set things up locally and copy the repository to the server.
It seems to work, but I wanted to double check.

```

## Sebastian Harl, 2008-05-12 12:55

Subject: Re: Safe to manually copy git repository?
Message-ID: <20080512125542.GQ21270@albany.tokkee.org>
URL: https://gitlist.dev/e/20080512125542.GQ21270%40albany.tokkee.org
In-Reply-To: <2729632a0805101057r181b9afftdcaf7c6d0b8895f8@mail.gmail.com>

```
Hi,

On Sat, May 10, 2008 at 10:57:24AM -0700, skillzero@gmail.com wrote:
> Is it safe to copy the .git directory to a different machine and/or
> location and start using it from there?

Yes.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin


```
