From 31e5528fac5d273367405651d1715c6b6f3c6c7c Mon Sep 17 00:00:00 2001 From: Josh Rabinowitz Date: Thu, 28 Jun 2018 13:14:41 -0400 Subject: [PATCH 1/3] Clarify that 'git-secret-add' doesn't alter .gitignore by default --- src/commands/git_secret_usage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/git_secret_usage.sh b/src/commands/git_secret_usage.sh index e79ff1b8..1d4966c0 100644 --- a/src/commands/git_secret_usage.sh +++ b/src/commands/git_secret_usage.sh @@ -24,7 +24,7 @@ function usage { echo "usage: git secret [--version] [$commands]" echo " 'git secret --version' will show version and exit" echo "See 'git secret [command] -h' for more information on each command below" - echo " add [filename.txt] - adds file to be hidden. Also add this file to .gitignore" + echo " add [filename.txt] - adds file to be hidden. Can also add file to .gitignore" echo " cat [filename.txt] - cats the decrypted contents of the named file to stdout" echo " changes [filename.secret] - indicates if the file has changed since checkin" echo " clean - deletes encrypted files" From 99f2229038ce5ea45dce94dee4be63fe3c72f641 Mon Sep 17 00:00:00 2001 From: Josh Rabinowitz Date: Sat, 30 Jun 2018 09:46:54 -0400 Subject: [PATCH 2/3] mention 'add' has an option, and that each command has options --- src/commands/git_secret_usage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/git_secret_usage.sh b/src/commands/git_secret_usage.sh index 1d4966c0..520fe46c 100644 --- a/src/commands/git_secret_usage.sh +++ b/src/commands/git_secret_usage.sh @@ -23,8 +23,8 @@ function usage { echo "usage: git secret [--version] [$commands]" echo " 'git secret --version' will show version and exit" - echo "See 'git secret [command] -h' for more information on each command below" - echo " add [filename.txt] - adds file to be hidden. Can also add file to .gitignore" + echo "See 'git secret [command] -h' for more info about commands and their options" + echo " add [filename.txt] - adds file to be hidden. optionally adds file to .gitignore" echo " cat [filename.txt] - cats the decrypted contents of the named file to stdout" echo " changes [filename.secret] - indicates if the file has changed since checkin" echo " clean - deletes encrypted files" From 1f2fb99a0a5acc3cff1d6805c54c762f6d748669 Mon Sep 17 00:00:00 2001 From: Simon Massey Date: Sat, 30 Jun 2018 15:19:14 +0100 Subject: [PATCH 3/3] Full stop changed to comma --- src/commands/git_secret_usage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/git_secret_usage.sh b/src/commands/git_secret_usage.sh index 520fe46c..207b804d 100644 --- a/src/commands/git_secret_usage.sh +++ b/src/commands/git_secret_usage.sh @@ -24,7 +24,7 @@ function usage { echo "usage: git secret [--version] [$commands]" echo " 'git secret --version' will show version and exit" echo "See 'git secret [command] -h' for more info about commands and their options" - echo " add [filename.txt] - adds file to be hidden. optionally adds file to .gitignore" + echo " add [filename.txt] - adds file to be hidden, optionally adds file to .gitignore" echo " cat [filename.txt] - cats the decrypted contents of the named file to stdout" echo " changes [filename.secret] - indicates if the file has changed since checkin" echo " clean - deletes encrypted files"