git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can someone confirm what the contents of refs/heads/master means?
@ 2008-12-08 19:23 davetron5000
  2008-12-08 19:35 ` Peter Harris
  2008-12-08 21:26 ` Björn Steinbrink
  0 siblings, 2 replies; 6+ messages in thread
From: davetron5000 @ 2008-12-08 19:23 UTC (permalink / raw)
  To: git

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

So, I overwrote refs/heads/master with the contents of refs/remotes/
trunk (i.e. the SHA-1 of the svn trunk).

Things seem to be working; git svn dcommit commits to the trunk and
git svn rebase updates from svn's trunk.

So, I want to make sure that refs/heads/master actuall does, in fact,
point to the head revision of whatever branch is considered "master".
Can someone comfirm this (or provide the actual explanation if I'm
wrong?)

Thanks!

Dave

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

end of thread, other threads:[~2008-12-08 22:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-12-08 22:21   ` David Copeland

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