git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: skillzero@gmail.com
To: git@vger.kernel.org
Subject: Safe to manually copy git repository?
Date: Sat, 10 May 2008 10:57:24 -0700	[thread overview]
Message-ID: <2729632a0805101057r181b9afftdcaf7c6d0b8895f8@mail.gmail.com> (raw)

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.

             reply	other threads:[~2008-05-10 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-10 17:57 skillzero [this message]
2008-05-12 12:55 ` Safe to manually copy git repository? Sebastian Harl

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=2729632a0805101057r181b9afftdcaf7c6d0b8895f8@mail.gmail.com \
    --to=skillzero@gmail.com \
    --cc=git@vger.kernel.org \
    /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).