Forceignore does not support exclamation point "!" #2644
Labels
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
According to the docs, forceignore should mimic gitignore. Gitignore supports using exclamation points to negate a certain pattern, e.g. for individual files or subdirectories: https://git-scm.com/docs/gitignore
It would be very useful if forceignore could support the same
Steps To Reproduce
sf project deploy start -d issues/exclamation-ignore-bug
Expected result
Account.TestField1__c
should have been deployed, andAccount.TestField2__c
should be ignored.Because the following lines were added to .forceignore:
Actual result
Both
Account.TestField1__c
&Account.TestField2__c
was ignored. No changes was deployedSystem Information
The text was updated successfully, but these errors were encountered: