threads / discuss / 4927

remote diff

Subject: remote diff

## tl;dr

2 messages between Jul 20, 2006 and Jul 20, 2006.

replies: 1people: 2as markdown or json

Yakov Lerner· Jul 20, 2006, 11:54 UTC · lore
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· Jul 20, 2006, 12:06 UTC · re: Yakov Lerner · lore

Re: remote diff

Yakov Lerner wrote:
Show 6 quoted lines
> 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

← back to recent threads