-
Notifications
You must be signed in to change notification settings - Fork 1
Including in your project
Paul Inventado edited this page Jan 29, 2021
·
2 revisions
To include cppaudit to your project, you can use submodules, subtrees, or copy/paste the folder into your repo.
- submodules - works in general, but won't work if you use your project as a template (e.g., GitHub classroom requirement)
- subtrees - works in general
- copy/paste - works in general, but more work.
You can add cppaudit to your project via subtrees using the command below
git subtree add --prefix prob02/tools/cppaudit https://github.com/ILXL/cppaudit main --squash
- prefix is the folder that will contain cppaudit
- master is the branch
- --squash removes the history for cppaudit