On Fri, Oct 18, 2013 at 9:57 PM, Blake McBride <blake1...@gmail.com> wrote:
> Thank you very much for the help!  I have that book.  I think I'll some
> reading.  My mind is so SVN oriented that when I read the books I keep
> thinking 'but how would I do x?  y?  Z?'  Perhaps x, y, and z don't make
> sense with this new model.

In my opinion Subversion and Git are so different it's not helpful to
think on those terms. Yes, some commands are equivalent, but many
others seem similar but do drastically different things.

> From what you are saying, I gather that branches created remotely are kept
> noted as such (even though I have a local copy).  When I check the branch
> out, it becomes a totally new local branch.

Not exactly. 'git checkout origin/foo' is how you checkout a remote
branch, but that sends to a kind of limbo called a detached HEAD,
which means you are in no branch, you are in a commit, and more often
than not that's not what you want. 'git checkout foo' will checkout
the local branch 'foo', if there's no local branch with that name it
finds out if there's a remote branch with that name that would make
sense to checkout, and will replace that command with 'git checkout -b
foo origin/foo' (create a new branch 'foo' from the starting point

Felipe Contreras

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to