On Mon, Dec 8, 2008 at 2:42 PM, David Copeland wrote:
Thanks for the info :)
The reason I edited by hand is when I was on trunk (e.g. git checkout
trunk), I did a git svn dcommit and it worked, but said "you aren't on
a branch", so I was concerned I might be in some weird state (i.e. if
trunk isn't a branch, can I make a branch off of it?)
Trunk is a "remote branch", so you can't check it out. If you try, you
get what is called a "detached HEAD".
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#detached-head
And, yes, you can make a local branch off of a remote branch.
Peter Harris