1 answer
@Pedro GarciaCreate a Scratch Org User: Sometimes you need other users to test with different profiles and permission sets.
user-def.jsonsfdx force:user:create --setalias qa-user --definitionfile config/user-def.json
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_users_def_file.htmhttps://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_create_users.htmSalesforce : The push command doesn’t handle merges. Projects and scratch orgs are meant to be used by one developer. Therefore, we don’t anticipate file conflicts or the need to merge. However, if the push command detects a conflict, it terminates the operation and displays the conflict information to the terminal. You can rerun the push command and force the changes in your project to the scratch org.https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_push_md_to_scratch_org.htm{
"Username": "tester1@sfdx.org",
"LastName": "Hobbs",
"Email": "tester1@sfdx.org",
"Alias": "tester1",
"TimeZoneSidKey": "America/Denver",
"LocaleSidKey": "en_US",
"EmailEncodingKey": "UTF-8",
"LanguageLocaleKey": "en_US",
"profileName": "System Administrator",
"permsets": ["Dreamhouse", "Cloudhouse"],
"generatePassword": true
}