Skip to content
Snippets Groups Projects
Unverified Commit 98571090 authored by Michael McAndrew's avatar Michael McAndrew Committed by GitHub
Browse files

Added and improved civilint examples

parent a3f76fec
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,8 @@ Note that civilint may be invoked a few different ways: ...@@ -7,7 +7,8 @@ Note that civilint may be invoked a few different ways:
```bash ```bash
civilint # (no arguments) – Check style of any uncommitted changes. civilint # (no arguments) – Check style of any uncommitted changes.
civilint some/file.php # Check style of a specific file (or list of files). civilint some/file.php # Check style of a specific file (or list of files).
git diff --name-only origin/4.6.. | civilint - # Check changed files git diff --name-only HEAD~1 | civilint - # Check your last commit
git diff --name-only master | civilint - # Check for changes in your branch (compared to master)
``` ```
See also: See also:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment