linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	IDE/ATA development list <linux-ide@vger.kernel.org>
Subject: Re: libata-dev git question:
Date: Mon, 03 Dec 2007 13:33:16 +0900	[thread overview]
Message-ID: <4753870C.3040204@gmail.com> (raw)
In-Reply-To: <4752C70F.80506@rtr.ca>

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Attached is the script I use to keep a tree synced with upstream tree.
.git/origin points to upstream repo like the following.

  master.kernel.org /pub/scm/linux/kernel/git/jgarzik/libata-dev.git ssh

If you have ssh access to the origin, specify ssh as above, everything
will go over a ssh channel.  If you don't, you need rsync and git access
to the machine.

The script keeps the tree heads identical to the upstream tree so don't
create custom branches in the tree.  They'll go away when you run
git-sync.sh the next time.  I have ~/os/linux-2.6 and
~/os/ata/work/libata-dev trees to track upstream and ~/os/work and
~/os/ata/work trees where I work on and fetches / pulls necessary heads
from the two upstream clones.

If you make your work trees' alternates files to point to the upstream
clones, having separate upstream and work trees don't waste much space
and it's easy to check what's going on upstream that way.

-- 
tejun

[-- Attachment #2: git-sync.sh --]
[-- Type: application/x-shellscript, Size: 726 bytes --]

      parent reply	other threads:[~2007-12-03  4:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02 14:54 libata-dev git question: Mark Lord
2007-12-02 15:10 ` Jeff Garzik
2007-12-02 16:48   ` Mark Lord
2007-12-03  4:33 ` Tejun Heo [this message]

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=4753870C.3040204@gmail.com \
    --to=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@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).