From: Dannier Castro L Date: Sun, 13 May 2018 02:23:34 GMT Subject: [PATCH 3/3] doc: update doc for strict usage of -- checkout Message-ID: <1526178214-30956-3-git-send-email-danniercl@gmail.com> In-Reply-To: <1526178214-30956-1-git-send-email-danniercl@gmail.com> The flag '--' must always be before any file path when command is used. The main documentation about the usage of command is updated to include the strict usage of the flag '--' so that the user can specify file names over branch names. Signed-off-by: Dannier Castro L : --- Documentation/git-checkout.txt | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index ca5fc9c..8360a98 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -12,9 +12,9 @@ SYNOPSIS 'git checkout' [-q] [-f] [-m] --detach [] 'git checkout' [-q] [-f] [-m] [--detach] 'git checkout' [-q] [-f] [-m] [[-b|-B|--orphan] ] [] -'git checkout' [-f|--ours|--theirs|-m|--conflict=