Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Desktop
Wiki
Code Style
Changes
Page history
New page
Templates
Clone repository
Update Code Style
authored
3 years ago
by
Sebastian
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code-Style.md
+3
-1
3 additions, 1 deletion
Code-Style.md
with
3 additions
and
1 deletion
Code-Style.md
View page @
886de6a8
...
@@ -49,4 +49,6 @@ if [ $? -ne 0 ]; then
...
@@ -49,4 +49,6 @@ if [ $? -ne 0 ]; then
fi
fi
exit 0
exit 0
```
```
\ No newline at end of file
Similarly, you can create a script at
`.git/hooks/pre-commit`
to check the coding conventions on every commit.
\ No newline at end of file
This diff is collapsed.
Click to expand it.