... | ... | @@ -80,13 +80,17 @@ Make the required modifications. New files have to be added using the command: |
|
|
git add <file(s)>
|
|
|
```
|
|
|
|
|
|
Automated formatting can then be applied using the command:
|
|
|
Optionally (for advanced users), automated formatting can then be applied
|
|
|
using the command:
|
|
|
```bash
|
|
|
git clang-format
|
|
|
```
|
|
|
Note that this requires clang-format to be installed on your system. A list of
|
|
|
modified files (if any) is printed. If files are modified, the git add command
|
|
|
should be run again.
|
|
|
modified files (if any) is printed. If files are modified, please check the
|
|
|
changes with git diff. If the changes go beyond what you expected
|
|
|
(for example parts that you didn't edit got reformatted), you should revert individual
|
|
|
files with git checkout -- <file>. If the changes look great, stage them with
|
|
|
git add.
|
|
|
|
|
|
Commit the changes to the local repository with:
|
|
|
|
... | ... | |