Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Can someone confirm what the contents of refs/heads/master means?

From: Peter Harris <hidden>
Date: 2016-06-15 22:45:44

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help