From: Ming Zhang <blackmagic02881@gmail.com>
To: git <git@vger.kernel.org>
Subject: create branch from svn repos
Date: Tue, 27 Apr 2010 16:59:40 -0400 [thread overview]
Message-ID: <j2h93552bad1004271359q63611fcdn82a3915a3bb74b25@mail.gmail.com> (raw)
Hi All
I have a svn repos with this layout
trunk
tags
branches-- b1
b2
dir/ b3
b4
i used git-svn to clone a svn repos. and i have remote branches like
svn/b1
svn/b2
svn/dir
i can create a local branch from b1 or b2, or even dir with command like
git checkout -b local/b1 svn/b1
but if i want to create a local branch for b3 with command
git checkout -b local/b1 svn/dir/b3
it will fail with error messages like
fatal: git checkout: updating paths is incompatible with switching
branches/forcing
Did you intend to checkout 'svn/dir/b3' which can not be resolved as commit?
so is what i want to do feasible?
Thanks!
Ming
next reply other threads:[~2010-04-27 20:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 20:59 Ming Zhang [this message]
2010-04-27 23:25 ` create branch from svn repos Dmitrijs Ledkovs
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=j2h93552bad1004271359q63611fcdn82a3915a3bb74b25@mail.gmail.com \
--to=blackmagic02881@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 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).