How to install Git on Manjaro 18
Install Git on Manjaro 18
Git is currently one of the most popular version control systems (VCS). Git was used for sharing and collaborating on software development projects, mainly for source code management. In this tutorial, you will learn how to install Git on Manjaro 18.
Before you start installing Git on Manjaro 18, you need a non-root user account with sudo privileges on the server or desktop.
Install Git on Manjaro
Enter the following command to install Git.
sudo pacman -S git
Check the installation and run the following command to check the version:
The output looks like this:
git version 2.24.1
Must be fully configured with Git information to prevent warnings every time
Next, set the global username for Git configuration input.
git config --global user.name "user_name"
Next, set the global mail for Git configuration input.
git config --global user.email "[email protected]_name.com"
You can also change the configuration by editing the .gitconfig file. Edit the gitconfig file by entering the following command:
Edit the above file, setting the name and email as follows.
[user] email = [email protected]_name.com name = user_name
Here, you learned how to install Git on Manjaro 18. You also learned how to set up Git to get started working with the system. If you have any questions about this tutorial, don’t forget to comment below.