* Change checkout remotely.
@ 2008-09-08 15:42 Marcello Henrique
2008-09-08 15:45 ` Shawn O. Pearce
2008-09-08 15:47 ` Paolo Bonzini
0 siblings, 2 replies; 4+ messages in thread
From: Marcello Henrique @ 2008-09-08 15:42 UTC (permalink / raw)
To: git
Hello,
Is it possible change checkout another work tree remotely and refresh all files?
For example: git remote other checkout other-branch-x
Thanks!
--
Marcello Henrique
Associação Software Livre de Goiás (www.aslgo.org.br)
Cercomp - UFG (www.cercomp.ufg.br)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change checkout remotely.
2008-09-08 15:42 Change checkout remotely Marcello Henrique
@ 2008-09-08 15:45 ` Shawn O. Pearce
2008-09-08 15:53 ` Marcello Henrique
2008-09-08 15:47 ` Paolo Bonzini
1 sibling, 1 reply; 4+ messages in thread
From: Shawn O. Pearce @ 2008-09-08 15:45 UTC (permalink / raw)
To: Marcello Henrique; +Cc: git
Marcello Henrique <faraohh@gmail.com> wrote:
>
> Is it possible change checkout another work tree remotely and refresh all files?
>
> For example: git remote other checkout other-branch-x
ssh otherhost cd otherdir '&&' git checkout other-branch-x
--
Shawn.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change checkout remotely.
2008-09-08 15:42 Change checkout remotely Marcello Henrique
2008-09-08 15:45 ` Shawn O. Pearce
@ 2008-09-08 15:47 ` Paolo Bonzini
1 sibling, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2008-09-08 15:47 UTC (permalink / raw)
To: Marcello Henrique; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Change checkout remotely.
2008-09-08 15:45 ` Shawn O. Pearce
@ 2008-09-08 15:53 ` Marcello Henrique
0 siblings, 0 replies; 4+ messages in thread
From: Marcello Henrique @ 2008-09-08 15:53 UTC (permalink / raw)
To: git
On Mon, Sep 8, 2008 at 12:45, Shawn O. Pearce <spearce@spearce.org> wrote:
> Marcello Henrique <faraohh@gmail.com> wrote:
>>
>> Is it possible change checkout another work tree remotely and refresh all files?
>>
>> For example: git remote other checkout other-branch-x
>
> ssh otherhost cd otherdir '&&' git checkout other-branch-x
This form is over ssh and over http?
Thank for quickly!
--
Marcello Henrique
Associação Software Livre de Goiás (www.aslgo.org.br)
Cercomp - UFG (www.cercomp.ufg.br)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-08 15:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 15:42 Change checkout remotely Marcello Henrique
2008-09-08 15:45 ` Shawn O. Pearce
2008-09-08 15:53 ` Marcello Henrique
2008-09-08 15:47 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).