Remove files from a PR
I want the ability in Gearset to selectively remove files from a branch or PR without running another comparison.
I have an admin that frequently "over commits" too many things.
Often its bad enough that its just easiest for them to delete the branch in github then start over in gearset.
The problem then is that starting over from scratch, a day or two since they worked on it, and they will make a different mistake.
I'm aware of a few features, like
Delete the branch in Github and start over in gearset
- Seems to be the easiest to me
Roll Back a commit
- often has the same end result as #1, especially when admins are just checking in everything on one commit
Delete the component in the source sandbox then do a compare and commit to delete the item from the branch
- not desirable because I don't want to delete it from the source sandbox
Use GitHub or the git cli to do it
- not an admin friendly solution, this makes more work for me the reviewer
-
[Deleted User] commented
I like this idea but for a different use case.
The admin/dev commits files that simply won't deploy to an org. An example might be trying to inactivate a record type and delete sharing rules (that referenced that record type). These have to be deployed separately and it would be convenient to have GS roll back the change to the inactivated record type so the sharing rules can be deployed first