How do I install Git on CentOS

0 votes
How do I install Git on CentOS?
Feb 19, 2019 in Git & GitHub by Kiran
1,044 views

2 answers to this question.

0 votes

Hey @Kiran, installing Git on CentOS is literally just two steps

sudo yum install git

and then check the version installed

git --version
answered Feb 19, 2019 by Jobin
0 votes

Hi,

If you want to install Git 1 then you have to install the epel-release repo.

$ yum install epel-release

If you want to install Git 2, then you have to install endpoint rpm. 

$ rpm -ivh endpoint-repo.1.7.rpm

After that you can install Git.

$ yun install git

Hope this will work.

Thank You

answered Feb 4, 2020 by MD
• 95,460 points

Related Questions In Git & GitHub

0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,620 points
10,503 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

answered Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
718 views
0 votes
1 answer

How do I update the password for Git?

Hi@akhtar, You need to update your credentials. For ...READ MORE

answered Jan 5, 2021 in Git & GitHub by MD
• 95,460 points
731 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,019 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,172 views
0 votes
1 answer

How do I install Git on windows?

Hey @Akash, follow these steps: Go to this ...READ MORE

answered Feb 19, 2019 in Git & GitHub by Nikhil
974 views
0 votes
1 answer

How to install git on ubuntu?

Hey @Ali, installing Git on ubuntu is ...READ MORE

answered Dec 21, 2018 in Git & GitHub by Eric
1,042 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP