
上QQ阅读APP看书,第一时间看更新
Debian and Ubuntu
The following are the steps to install Git on Debian and Ubuntu:
- Open Terminal.
- Use the following commands to start the installation:
$ sudo apt-get update $ sudo apt-get install git
- Verify the installation:
$ git -version
- The output should be something like the following:
git version 2.9.2
- Configure Git with the following commands:
$ git config --global user.name "Your Name" $ git config --global user.email "you@example.com"