Skip to contentSkip to conversation

git versions

DISCUSSION Ashish Yadav 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I am using git v1.7.12.4 w CentOS 6.5. Can I upgrade 1.7.1-3 to 2.7?

#1 lore raw
Quoted 1 line · Ashish Yadav

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

#2 lore raw
Quoted 5 lines · Jeff King
Quoted 1 line · Ashish Yadav

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.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/
#3 lore raw

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.

Quoted 20 lines · Matthieu Moy
Quoted 5 lines · Jeff King
Quoted 1 line · Ashish Yadav

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.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/
#4 lore raw
Quoted 4 lines · Ashish Yadav

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