From: Shawn Pearce <spearce@spearce.org>
To: Wink Saville <wink@saville.com>
Cc: git <git@vger.kernel.org>
Subject: Re: how-to "backup" a repository
Date: Mon, 6 Nov 2006 00:52:25 -0500 [thread overview]
Message-ID: <20061106055224.GA23126@spearce.org> (raw)
In-Reply-To: <454ECC23.6010503@saville.com>
Wink Saville <wink@saville.com> wrote:
> I've been working with git for a little while, but still very
> much a neophyte. One thing I'd like to do is be able to backup
> my work on a server located on my network.
>
> Currently I have cloned the Linux 2.6 tree on my personal computer
> and have been backing it up by tar'ing the subdirectory with the
> cloned repository and then using scp to copy it to my server.
>
> I suspect there is a better way, probably using git itself:)
>
> How is the typically handled?
Create a remote (in .git/remotes) which refers to your backup
location. Then use 'git push' to push your branch(es) of
interest to the backup.
--
next prev parent reply other threads:[~2006-11-06 5:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-06 5:46 how-to "backup" a repository Wink Saville
2006-11-06 5:52 ` Shawn Pearce [this message]
2006-11-06 6:13 ` Wink Saville
2006-11-06 6:18 ` Shawn Pearce
2006-11-06 6:21 ` Junio C Hamano
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=20061106055224.GA23126@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=wink@saville.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