Can I upgrade the GIT version without losing my repositories?

1

My git has version 1.9.5 and the current version is 2.7.0 Can I install the new version without losing my data? Because I have a series of repositories with this old version !! What should I do?

    
asked by anonymous 24.01.2016 / 04:19

2 answers

3

You can update the GIT version without any problem because the data of each repository is stored inside the directory of each of them, this data is stored in the hidden directory .git .

    
24.01.2016 / 04:28
-1

On my servers (Debian, CentOS, Gentoo ...) I have always updated without any problems.

    
24.01.2016 / 05:21