From 985710902aa22d9ee1cf8d1b01e46cc09154a7f1 Mon Sep 17 00:00:00 2001
From: Michael McAndrew <michaelmcandrew@thirdsectordesign.org>
Date: Mon, 23 Apr 2018 14:49:25 +0100
Subject: [PATCH] Added and improved civilint examples

---
 docs/tools/civilint.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/tools/civilint.md b/docs/tools/civilint.md
index 826ebe66..6dd26ef8 100644
--- a/docs/tools/civilint.md
+++ b/docs/tools/civilint.md
@@ -7,7 +7,8 @@ Note that civilint may be invoked a few different ways:
 ```bash
 civilint # (no arguments) – Check style of any uncommitted changes.
 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:
-- 
GitLab