Subject: Re: Change checkout remotely.

From: Paolo Bonzini <[email-masked]>
Date: Mon, 08 Sep 2008 17:47:19 +0200

Marcello Henrique wrote:
> Hello,
> 
> Is it possible change checkout another work tree remotely and refresh all files?
> 
> For example: git remote other checkout other-branch-x

Yes, either

   git checkout origin/other-branch

or if you want to work on your own local branch, starting from the
remote tree:

   git checkout -b my-branch origin/other-branch

and "git pull" (or "git pull --rebase") when you want to synchronize
with upstream.

Paolo