File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
railties/lib/rails/commands/credentials Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ Set up Git to Diff Credentials:
38
38
Running the command enrolls the project such that all credentials files use the
39
39
"rails_credentials" diff driver in .gitattributes.
40
40
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
43
43
`<%= executable(:edit) %>`.
44
44
45
45
Otherwise each co-worker would have to run enable manually, including on each new
@@ -48,8 +48,8 @@ Set up Git to Diff Credentials:
48
48
To disenroll from this feature, run `<%= executable(:diff) %> --disenroll`.
49
49
50
50
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.
53
53
54
54
When the temporary file is next saved the contents are encrypted and written to
55
55
`config/credentials.yml.enc` while the file itself is destroyed to prevent credentials
You can’t perform that action at this time.
0 commit comments