On Tue, Sep 4, 2012 at 3:44 PM, Philip Oakley <philipoak...@iee.org> wrote:

> If both cases of checking out a path you are expected to provide a
> <tree-ish>, not a <branch>. The git glossary says that a tree-ish is a
> commit, tree, or tag - nothing about a branch.


A branch name is perfectly suitable to use as a <treeish>.  A branch is
really just in effect a variable pointer to a commit.

http://www.scribd.com/doc/65739673/12/The-Treeish#outer_page_41 et. seq.
 (see page 42)

-- 
Rick DeNatale

Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to