All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery.net>
To: Allan Acheampong <allanadjei@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git Clone Parameter
Date: Fri, 19 Jul 2013 15:33:25 +0200	[thread overview]
Message-ID: <51E94025.3090802@viscovery.net> (raw)
In-Reply-To: <FB572366-0B1D-4053-9255-979CB213B160@gmail.com>

Am 7/19/2013 11:21, schrieb Allan Acheampong:
> Something like 'git clone <theRepo> -createLocalBranchesForAllBranches'

Perhaps:

$ git clone theRepo
$ git fetch origin refs/heads/*:refs/heads/*

(untested). There may be ways to write the same shorter, but I've lost
track of what is and what is not possible in refspec.

-- Hannes

  parent reply	other threads:[~2013-07-19 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19  9:21 Git Clone Parameter Allan Acheampong
2013-07-19 10:01 ` Ramkumar Ramachandra
2013-07-19 15:05   ` Junio C Hamano
2013-07-19 15:44     ` Ramkumar Ramachandra
2013-07-19 13:33 ` Johannes Sixt [this message]
2013-07-19 15:02   ` Junio C Hamano
2013-07-19 15:02 ` Junio C Hamano
2013-07-19 15:47   ` Ramkumar Ramachandra
2013-07-19 17:19   ` Philip Oakley
2013-07-19 19:10     ` 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=51E94025.3090802@viscovery.net \
    --to=j.sixt@viscovery.net \
    --cc=allanadjei@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.