---
# System prepended metadata

title: <center><i class="fa fa-edit"></i> Clonning of C files</center>

---

:::warning
# <center><i class="fa fa-edit"></i> Clonning of C files</center>
:::



[TOC]

### Clonning of OAI with flexric
Firstly we have to clone oai 
```c=
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git oai
cd oai && git checkout b04731d7565cd91b538eb7cc80f874b4730d54ad 
```

After that you have to identify yourself using this command
```c=
git config --global user.email "you@example.com"
```
Or 
```c=
git config --global user.name "Your Name"
```
Then, you have to patch your files

```c=
git am /path/to/flexric/oai/flexric_oai.patch 
```

The last thing is only to open a VS code and see the source code

