git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* proper way to make cg-fetch work from originally git-clone'd tree
@ 2005-11-10 13:51 Randal L. Schwartz
  2005-11-11  0:11 ` Petr Baudis
  0 siblings, 1 reply; 3+ messages in thread
From: Randal L. Schwartz @ 2005-11-10 13:51 UTC (permalink / raw)
  To: git


I tried git-fetch this morning, and it said I didn't have an origin,
which makes sense because I made the tree with git-clone, not cg-clone.

However, when I tried

        cg-branch-add origin rsync://rsync.kernel.org/pub/scm/git/git.git

it complained that I already had an origin!  It seems to work after
that, but what should I have done instead?  Is there a way to make
both cg-fetch and git-fetch to default to the same things?

By the way, my "make only if something changed" works now, because
I've separated cg-fetch and cg-merge.  My merge step looks like:

  cg-merge 2>&1 | grep -v 'already fully merged' && make prefix=/opt/git all install && (cd Documentation && make prefix=/opt/git all install)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-11  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 13:51 proper way to make cg-fetch work from originally git-clone'd tree Randal L. Schwartz
2005-11-11  0:11 ` Petr Baudis
2005-11-11  0:13   ` Randal L. Schwartz

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).