"It is then your choice when you want to update your working copy with the
changes you just fetched."

:-) That would be the merge then.

Git pull = fetch + merge.

Interestingly enough, Jazz doesn't let you do that; in that is does not
separate the fetch and merge.

When you accept from another Stream or Repository Workspace, you do it into
your (or any specified, really) Workspace.

Your working copy, (sandbox in Jazz terms) is automatically updated with
the results of the accept, if there is a sandbox that has been loaded
(checkout in svn terms) associated with that workspace.

-Chris

On Thu, Mar 1, 2012 at 5:18 PM, Barrie Treloar <[email protected]> wrote:

> On Thu, Mar 1, 2012 at 3:06 PM, Chris Graham <[email protected]> wrote:
> > That's wierdly worded.
> >
> > So, a fetch updates your local repo with that of a remote repo, but NOT
> > your local working copy?
> > And
> > a pull does the merge as well, which is remote -> local > working copy?
> >
> > Terminology is rather important  here.
> >
> > I've also see the term staging area, which I assume is the local repo.
> >
> > Does git have a term for what  SVN calls a working copy?
>
> See http://hginit.com/
> It's mercurial rather than git, but the concepts are similar
>
> I can't find the equivalent one for git, mustn't have book marked it.
>
> Your working copy is your current directory.
> With git (and mercurial) when you "fetch" from a remote repository you
> get a complete duplicate in your local repository.
> It is then your choice when you want to update your working copy with
> the changes you just fetced.
>
> But I'm still new to git...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to