Skip to content
Snippets Groups Projects
Unverified Commit 6ec1031a authored by Sean Madsen's avatar Sean Madsen Committed by GitHub
Browse files

Merge pull request #525 from civicrm/civilint-examples

Added and improved civilint examples
parents 65ecd6ac 98571090
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