How to install git on ubuntu?

0 votes
How to install git on ubuntu?
Dec 20, 2018 in Git & GitHub by Ali
• 10,450 points
55 views

1 answer to this question.

0 votes

Hey @Ali, installing Git on ubuntu is pretty easy, just follow these steps:

log into SSH via root user

execute this command to update the repository

apt-get update

Install git

apt-get install git-core

Confirm the installation

git --version

configure git settings

git config --global user.name "user-name"
git config --global user.email "user-name-emai@whatever.com"

list configurations

git config --list

And you're ready :D

answered Dec 20, 2018 by Eric

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
1 answer

How to locate Git installation folder on a Mac OS X?

By default the git homepage installs into ...READ MORE

answered Aug 6, 2018 in Git & GitHub by Sophie may
• 9,430 points
671 views
0 votes
1 answer

How to do a re-merge into another branch in git

Seems like you want to rebase your ...READ MORE

answered May 7, 2018 in Git & GitHub by DareDev
• 6,810 points
94 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How do I install Git on windows?

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

answered Feb 19 in Git & GitHub by Nikhil
43 views
0 votes
1 answer

How do I install Git on CentOS?

Hey @Kiran, installing Git on CentOS is ...READ MORE

answered Feb 19 in Git & GitHub by Jobin
23 views