From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: davetron5000 <davetron5000@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Can someone confirm what the contents of refs/heads/master means?
Date: Mon, 8 Dec 2008 22:26:36 +0100 [thread overview]
Message-ID: <20081208212636.GA6061@atjola.homenet> (raw)
In-Reply-To: <f78b0fcc-6165-440a-b76b-b1b0a281b15c@k8g2000yqn.googlegroups.com>
On 2008.12.08 11:23:46 -0800, davetron5000 wrote:
> I'm using git-svn to interact with an SVN repo that has branches.
>
> After my clone via:
>
> git svn clone $REPO/main -T trunk -b branches -t tags
>
> my 'master' branch pointed to one of the branches in svn and not to
> the main trunk. (my .git/config looked correct for svn interaction,
> i.e. trunk pointed to the right place).
Just to clear up that bit as well. when the "fetch" finishes (which is
part of the clone process), git-svn checks if there is a master branch,
and if not, it creates one from the last commit it created. So if your
last svn commit was to branch XYZ and not to trunk, master will
reference that commit on branch XYZ.
Björn
next prev parent reply other threads:[~2008-12-08 21:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 19:23 Can someone confirm what the contents of refs/heads/master means? davetron5000
2008-12-08 19:35 ` Peter Harris
2008-12-08 19:42 ` David Copeland
2008-12-08 19:55 ` Peter Harris
2008-12-08 21:26 ` Björn Steinbrink [this message]
2008-12-08 22:21 ` David Copeland
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=20081208212636.GA6061@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=davetron5000@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).