docs: add git config items to docs
This commit is contained in:
parent
3659e9a4ba
commit
483435ae3d
|
|
@ -24,10 +24,15 @@ To build this project, you'll need:
|
||||||
|
|
||||||
### Clone the repo
|
### Clone the repo
|
||||||
|
|
||||||
```
|
```sh
|
||||||
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
|
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
|
||||||
cd InfiniTime
|
cd InfiniTime
|
||||||
git submodule update --init
|
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
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,14 @@ Based on Ubuntu 22.04 with the following build dependencies:
|
||||||
|
|
||||||
Before building, local repository must be fully initialized.
|
Before building, local repository must be fully initialized.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
|
git clone https://github.com/InfiniTimeOrg/InfiniTime.git
|
||||||
cd InfiniTime
|
cd InfiniTime
|
||||||
git submodule update --init
|
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
|
## Run a container to build the project
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue