# Different Versions

3 messages from 2008-04-24 to 2008-04-24. Participants: rjtaylor@havocinspired.co.uk, Matt Graham, Alex Riesen.
Thread: https://gitlist.dev/t/13244

## rjtaylor@havocinspired.co.uk, 2008-04-24 13:18

Subject: Different Versions
Message-ID: <899199.2868131209043100219.JavaMail.servlet@kundenserver>
URL: https://gitlist.dev/e/899199.2868131209043100219.JavaMail.servlet%40kundenserver

```
Hi,

First post, hope this is going to the right place.

I’m in a fairly restricted situation were I have a Live Web Server and a Dev Web Server. Now the Live box is running Ubuntu 7.04, and installs git version 1.4.* through apt-get. On the Dev box I’ve got Ubuntu 7.10, and this installs git version 1.5.*.

Each seem to use slightly different commands, e.g. to initialise a repository. 

My question is am I ok to use git versions 1.4.* and 1.5.* together, or am I going to have problems? Should I down great my Dev box to Ubuntu 7.04 to get git version 1.4* so they are the same?

I can’t take down the Live box, or upgrade git on it, hence the fairly restricted situation.

Any advice would be appreciated.

Regards

Ryan

```

## Matt Graham, 2008-04-24 14:57

Subject: Re: Different Versions
Message-ID: <1c5969370804240757i1349432at55fb2a7aeae1da63@mail.gmail.com>
URL: https://gitlist.dev/e/1c5969370804240757i1349432at55fb2a7aeae1da63%40mail.gmail.com
In-Reply-To: <899199.2868131209043100219.JavaMail.servlet@kundenserver>

```
I've always had trouble when dev servers and live servers have
differences.  Apart from how well 1.4 and 1.5 might work with
eachother, I'd recommend building from latest stable (1.5.5.1) on both
machines anyway.  I build on 7.10 and the 2-line default instructions
at the top of git/INSTALL work pretty well.

I get an error if I try to build the info, so just leave out the info
and install-info, and it should be ok.


On Thu, Apr 24, 2008 at 9:18 AM,  <rjtaylor@havocinspired.co.uk> wrote:
> Hi,
>
>  First post, hope this is going to the right place.
>
>  I'm in a fairly restricted situation were I have a Live Web Server and a Dev Web Server. Now the Live box is running Ubuntu 7.04, and installs git version 1.4.* through apt-get. On the Dev box I've got Ubuntu 7.10, and this installs git version 1.5.*.
>
>  Each seem to use slightly different commands, e.g. to initialise a repository.
>
>  My question is am I ok to use git versions 1.4.* and 1.5.* together, or am I going to have problems? Should I down great my Dev box to Ubuntu 7.04 to get git version 1.4* so they are the same?
>
>  I can't take down the Live box, or upgrade git on it, hence the fairly restricted situation.
>
>  Any advice would be appreciated.
>
>  Regards
>
>  Ryan
>  --
>  To unsubscribe from this list: send the line "unsubscribe git" in
>  the body of a message to majordomo@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```

## Alex Riesen, 2008-04-24 19:50

Subject: Re: Different Versions
Message-ID: <20080424195041.GA5905@steel.home>
URL: https://gitlist.dev/e/20080424195041.GA5905%40steel.home
In-Reply-To: <899199.2868131209043100219.JavaMail.servlet@kundenserver>

```
rjtaylor@havocinspired.co.uk, Thu, Apr 24, 2008 15:18:20 +0200:
> I’m in a fairly restricted situation were I have a Live Web Server
> and a Dev Web Server. Now the Live box is running Ubuntu 7.04, and
> installs git version 1.4.* through apt-get. On the Dev box I’ve got
> Ubuntu 7.10, and this installs git version 1.5.*.
> 
> Each seem to use slightly different commands, e.g. to initialise a
> repository. 
> 
> My question is am I ok to use git versions 1.4.* and 1.5.* together,
> or am I going to have problems?

apart from the different commands - no.

> Should I down great my Dev box to Ubuntu 7.04 to get git version
> 1.4* so they are the same?

no, no need to downgrade anything

> Any advice would be appreciated.

get the git source, checkout the 1.4.x version you have on your Live
Web Server, compile and install it in your $HOME on developnment
machine and try things out before doing them on production system.

But it is actually quite simple to uninstall the old git on both
systems, compile the newest git, and just install it everywhere.

```
