Skip to content

Commit 54a431d

Browse files
authored
Merge pull request rails#52490 from Uaitt/improve-credentials-help-output
Improve wording of `bin/rails credentials:help` command
2 parents 688b0a7 + e4cd6ae commit 54a431d

File tree

1 file changed

+4
-4
lines changed
  • railties/lib/rails/commands/credentials

1 file changed

+4
-4
lines changed

railties/lib/rails/commands/credentials/USAGE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Set up Git to Diff Credentials:
3838
Running the command enrolls the project such that all credentials files use the
3939
"rails_credentials" diff driver in .gitattributes.
4040

41-
Additionally since Git requires the driver itself to be set up in a config file
42-
that isn't tracked Rails automatically ensures it's configured when running
41+
Additionally, since Git requires the driver itself to be set up in a config file
42+
that isn't tracked, Rails automatically ensures it's configured when running
4343
`<%= executable(:edit) %>`.
4444

4545
Otherwise each co-worker would have to run enable manually, including on each new
@@ -48,8 +48,8 @@ Set up Git to Diff Credentials:
4848
To disenroll from this feature, run `<%= executable(:diff) %> --disenroll`.
4949

5050
Editing Credentials:
51-
This will open a temporary file in `$VISUAL` or `$EDITOR` with the decrypted
52-
contents to edit the encrypted credentials.
51+
`<%= executable(:edit) %>` will open a temporary file in `$VISUAL` or `$EDITOR`
52+
with the decrypted contents to edit the encrypted credentials.
5353

5454
When the temporary file is next saved the contents are encrypted and written to
5555
`config/credentials.yml.enc` while the file itself is destroyed to prevent credentials

0 commit comments

Comments
 (0)