2022-02-12 17:47:04 +01:00
|
|
|
# Setup Git
|
|
|
|
|
|
|
|
* update your APT cache using
|
|
|
|
```
|
2022-12-22 14:32:11 +01:00
|
|
|
doas apk update
|
2022-02-12 17:47:04 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
* install Git from Debian's APT repository
|
|
|
|
```
|
2022-12-22 14:32:11 +01:00
|
|
|
doas apk add git
|
2022-02-12 17:47:04 +01:00
|
|
|
```
|
|
|
|
|
2022-12-22 14:32:11 +01:00
|
|
|
* verify installation
|
2022-02-12 17:47:04 +01:00
|
|
|
```
|
|
|
|
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
|
|
|
|
```
|