docs: add git config items to docs

This commit is contained in:
Max Jakobitsch 2025-02-12 09:00:51 +01:00 committed by JF
parent 3659e9a4ba
commit 483435ae3d
2 changed files with 11 additions and 2 deletions

View file

@ -24,10 +24,15 @@ To build this project, you'll need:
### Clone the repo
```
```sh
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
cd InfiniTime
git submodule update --init
# configure git to apply whitespace fixes automatically
git config set core.whitespace trailing-space,space-before-tab
git config set apply.whitespace fix
mkdir build
cd build
```

View file

@ -15,10 +15,14 @@ Based on Ubuntu 22.04 with the following build dependencies:
Before building, local repository must be fully initialized.
```
```sh
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
cd InfiniTime
git submodule update --init
# configure git to apply whitespace fixes automatically
git config set core.whitespace trailing-space,space-before-tab
git config set apply.whitespace fix
```
## Run a container to build the project