# remote diff

2 messages from 2006-07-20 to 2006-07-20. Participants: Yakov Lerner, Andreas Ericsson.
Thread: https://gitlist.dev/t/4927

## Yakov Lerner, 2006-07-20 11:54

Subject: remote diff
Message-ID: <f36b08ee0607200454k7aa98454rd2a8a566b0ea4582@mail.gmail.com>
URL: https://gitlist.dev/e/f36b08ee0607200454k7aa98454rd2a8a566b0ea4582%40mail.gmail.com

```
I have local repo, and remote repo ssh://x/y/.git.

I tried to diff local repo against remote, with naive
'git-diff ssh://x/y/.git.' But this did not work. How do I
diff with remote repo ?

Yakov

```

## Andreas Ericsson, 2006-07-20 12:06

Subject: Re: remote diff
Message-ID: <44BF71C9.4080206@op5.se>
URL: https://gitlist.dev/e/44BF71C9.4080206%40op5.se
In-Reply-To: <f36b08ee0607200454k7aa98454rd2a8a566b0ea4582@mail.gmail.com>

```
Yakov Lerner wrote:
> I have local repo, and remote repo ssh://x/y/.git.
> 
> I tried to diff local repo against remote, with naive
> 'git-diff ssh://x/y/.git.' But this did not work. How do I
> diff with remote repo ?
> 

Pull it to a new branch and diff the two branches. This should be a 
pretty cheap operation unless either of the two repos has seen a lot of 
development since you forked the code.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

```
