Minimal reproducible example to demonstrate a bug with
.forceignore
andsf project retrieve start
Important
A green status badge means the issue was successfully reproduced.
reproduction.mov
Given the following .forceignore
file
**/Admin.profile-meta.xml
Retrieving the Admin Profile (which should be present in any org)
$ sf project retrieve start -m "Profile:Admin"
Retrieving v60.0 metadata from xxx using the v60.0 SOAP API
Preparing retrieve request... Succeeded
Warning: Nothing retrieved
The output says "Nothing retrieved", but the Profile was retrieved indeed:
$ tree force-app
force-app
└── main
└── default
└── profiles
└── Admin.profile-meta.xml