User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
coding_guidelines [2019/05/11 04:21]
tapir Add missing clang-format argument
coding_guidelines [2019/05/16 03:19] (current)
daschuer [Command line]
Line 35: Line 35:
 [[https://​​articles/​2015/​4/​3/​Setting-up-git-clang-format.html|Setting-up git-clang-format]] [[https://​​articles/​2015/​4/​3/​Setting-up-git-clang-format.html|Setting-up git-clang-format]]
 +You can for example do this after each commit during development: ​
 +<code bash>
 +git-clang-format HEAD^1
 +git commit -a --amend
 +or if the PR is already under review: ​
 +<code bash>
 +git-clang-format upstream/​master ​
 +git commit -a -m"​apply git-clang-format changes"​
 Apply //​clang-format//​ to individual source files (only permitted for new files): Apply //​clang-format//​ to individual source files (only permitted for new files):
coding_guidelines.txt ยท Last modified: 2019/05/16 03:19 by daschuer