From f8d2671038d4b35bbca453673f4032a63bbfa5af Mon Sep 17 00:00:00 2001 From: Daniel Palma Date: Fri, 24 Feb 2017 10:45:03 +0100 Subject: [PATCH] Fix include/exclude pattern description in GUIDE.md Include/Exclude pattern prefixes have been switched up in the documentation. It could cause some confusion. :) --- GUIDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUIDE.md b/GUIDE.md index 34a86dd..f69aefe 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -444,7 +444,7 @@ destination storage and is required. ## Include/Exclude Patterns -An include pattern starts with -, and an exclude pattern starts with +. Patterns may contain wildcard characters such as * and ? with their normal meaning. +An include pattern starts with +, and an exclude pattern starts with -. Patterns may contain wildcard characters such as * and ? with their normal meaning. When matching a path against a list of patterns, the path is compared with the part after + or -, one pattern at a time. Therefore, the order of the patterns is significant. If a match with an include pattern is found, the path is said to be included without further comparisons. If a match with an exclude pattern is found, the path is said to be excluded without further comparison. If a match is not found, the path will be excluded if all patterns are include patterns, but included otherwise.