I am using git v1.7.12.4 w CentOS 6.5. Can I upgrade 1.7.1-3 to 2.7?
Re: git versions
On Fri, Jan 22, 2016 at 05:15:23PM +0000, Ashish Yadav wrote:
> I am using git v1.7.12.4 w CentOS 6.5. Can I upgrade 1.7.1-3 to 2.7?
Probably. :)
I don't know much about what has been packaged for CentOS 6.5, but you can certainly build the latest version of git from source. You can get tarballs at:
https://www.kernel.org/pub/software/scm/git/
Or you can just clone the git repository at:
git://git.kernel.org/pub/scm/git/git.git
If you are asking "can I upgrade to v2.7 and still use my existing repositories?", then the answer is yes, everything should continue to work, and you can fetch and push between servers running arbitrary git versions.
You may want to look at the release notes in Documentation/RelNotes, as some of the defaults have changed (especially around the v2.0 release).
-Peff
Re: git versions
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> On Fri, Jan 22, 2016 at 05:15:23PM +0000, Ashish Yadav wrote: > >> I am using git v1.7.12.4 w CentOS 6.5. Can I upgrade 1.7.1-3 to 2.7? > > Probably. :)
Surely ;-).
I have a CentOS 6.5 with Git 2.6 on it. It was installed from source (I'm not the one who installed it, but I think the installation was rather painless).
On the other hand, I don't think you'll find an RPM package, you'll need to compile it yourself.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/
Re: git versions
Thanks.
I just wanted to know if I can upgrade straight from v1.7.1-3 to v2.7 or do I need to upgrade to an intermediate version.
On 1/22/16, 4:42 PM, "Matthieu Moy" <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 20 quoted lines
>Jeff King <peff@peff.net> writes: > >> On Fri, Jan 22, 2016 at 05:15:23PM +0000, Ashish Yadav wrote: >> >>> I am using git v1.7.12.4 w CentOS 6.5. Can I upgrade 1.7.1-3 to 2.7? >> >> Probably. :) > >Surely ;-). > >I have a CentOS 6.5 with Git 2.6 on it. It was installed from source >(I'm not the one who installed it, but I think the installation was >rather painless). > >On the other hand, I don't think you'll find an RPM package, you'll need >to compile it yourself. > >-- >Matthieu Moy >http://www-verimag.imag.fr/~moy/
Re: git versions
On Fri, Jan 22, 2016 at 10:52:47PM +0000, Ashish Yadav wrote:
> Thanks. > > I just wanted to know if I can upgrade straight from v1.7.1-3 to v2.7 or > do I need to upgrade to an intermediate version.
No, there should no reason to need an intermediate version.
-Peff