# git svn clone options

2 messages from 2012-10-10 to 2012-10-10. Participants: 乙酸鋰, Andreas Schwab.
Thread: https://gitlist.dev/t/31776

## 乙酸鋰, 2012-10-10 03:15

Subject: git svn clone options
Message-ID: <CAHtLG6SikQGT12jn-EBYmL7wL_EF-+kpRtcne2wM8XTrFqSpSA@mail.gmail.com>
URL: https://gitlist.dev/e/CAHtLG6SikQGT12jn-EBYmL7wL_EF-%2BkpRtcne2wM8XTrFqSpSA%40mail.gmail.com

```
Hi,

I tried
git svn clone --stdlayout --branch ABC
but svn branches were missing (trunk was present), compared to the result of
git svn clone --stdlayout

Could you clarify --branch option, is it the same as --branches.
I thought git clone has --branch option, so I tried this option for svn.

Alos, I tried
git svn clone --stdlayout --no-checkout
It worked without checking out files.
but git-svn documentation seems to not mention this option.

Could you also tell what options are supported in both git clone and
git svn clone, and git clone only options?

Regards,

ch3cooli

```

## Andreas Schwab, 2012-10-10 07:14

Subject: Re: git svn clone options
Message-ID: <m28vbe7q9s.fsf@igel.home>
URL: https://gitlist.dev/e/m28vbe7q9s.fsf%40igel.home
In-Reply-To: <CAHtLG6SikQGT12jn-EBYmL7wL_EF-+kpRtcne2wM8XTrFqSpSA@mail.gmail.com>

```
乙酸鋰 <ch3cooli@gmail.com> writes:

> Could you clarify --branch option, is it the same as --branches.

Switches can be abbreviated as long as they are unambiguous.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

```
