Closed cristiand391 closed 1 year ago
Good callout!
@pozil It looks like that the config files like .gitignore
are not updated to what is set up for new projects.
Thanks for letting us know @cristiand391. I'll keep this PR open for now but I'll need to apply this to all sample apps in a scripted update.
I'll also add .env
since the CLI may use this in the future for the string replacement feature.
I aligned and updated .gitignore
files for all sample apps. Thanks again for raising this issue.
What does this PR do?
Adds the sf CLI deploy options file to .gitignore
Context:
The
sf deploy
commands allows the user to save the deploy options in adeploy-options.json
file. If you choose to save it, it writes it at the root of the sfdx project but the file shouldn't be commited to the project as it contains the org username, test level, etc:What issues does this PR fix or reference?
N/A
The PR fulfills these requirements:
[ ] Tests for the proposed changes have been added/updated. [ ] Code linting and formatting was performed.
Functionality Before
After running
sf deploy
and saving the deploy opts, git complains about the untracked file.Functionality After
I can save my deploy opts locally, git ignores it.