2022-02-12 17:47:04 +01:00
|
|
|
# Setup Git
|
|
|
|
|
|
|
|
* update your APT cache using
|
|
|
|
```
|
|
|
|
sudo apt update
|
|
|
|
```
|
|
|
|
|
|
|
|
* install Git from Debian's APT repository
|
|
|
|
```
|
|
|
|
sudo apt install git --no-install-recommends
|
|
|
|
```
|
|
|
|
|
|
|
|
* validate installation
|
|
|
|
```
|
|
|
|
git --version
|
|
|
|
```
|
|
|
|
|
|
|
|
* provide contact details to be embedded in the commit message
|
|
|
|
```
|
|
|
|
git config --global user.name "<tbd>"
|
|
|
|
git config --global user.email "<tbd>"
|
|
|
|
```
|
|
|
|
|
|
|
|
* verify contact details
|
|
|
|
```
|
|
|
|
git config --list
|
|
|
|
```
|
2022-02-16 21:31:27 +01:00
|
|
|
|
|
|
|
* install gitk directly from the official repository
|
|
|
|
```
|
|
|
|
sudo apt install gitk --no-install-recommends
|
|
|
|
```
|