threads / discuss / 13244

Different Versions

Subject: Different Versions

## tl;dr

3 messages between Apr 24, 2008 and Apr 24, 2008.

replies: 2people: 3as markdown or json

rjtaylor@havocinspired.co.uk· Apr 24, 2008, 13:18 UTC · lore
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· Apr 24, 2008, 14:57 UTC · re: rjtaylor@havocinspired.co.uk · lore

Re: Different Versions

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:
Show 22 quoted lines
> 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· Apr 24, 2008, 19:50 UTC · re: rjtaylor@havocinspired.co.uk · lore

Re: Different Versions

rjtaylor@havocinspired.co.uk, Thu, Apr 24, 2008 15:18:20 +0200:
Show 10 quoted lines
> 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.

← back to recent threads