2017-04-05 4:48 GMT+02:00 <bestbrightestandthens...@gmail.com>:

> Can anyone explain this command I saw in an on-line book:
>
> $ git worktree add -b emergency-fix ../temp master
>
> What kind of path is ../temp master ? That's not how I would write a path. 
> Maybe it's missing a slash and really is ../temp/master ?
>
>
Also I don't know why you would be dealing with these kinds of commands.

It is clear "../temp" would be a relative directory and "master" would be a
branch from your repo. It is not a path. The first part is a path where you
are basically apparently going to create a kind of branch and "master" may
be the branch you would be basing this on.

Whenever you see "master" it is a reference to a branch.
Sometimes branches are written as "origin/master" and sometimes they are
written as "origin master" I guess that's  a bit confusing.

But in this case it's clear the first is a relative path on your harddisk,
and the second is a branch, okay.

-- 
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/d/optout.

Reply via email to