Different Versions
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
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.
Quoted 22 lines · On Thu, Apr 24, 2008 at 9:18 AM, <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
[email protected], Thu, Apr 24, 2008 15:18:20 +0200:
Quoted 10 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.
Quoted 2 lines
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
Quoted 1 line
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.