If a resource is in an invalid state, you have the option to reset it, which deletes all previous versions of the resource. For example, when a source repository invalidates the SHA that is used by a GitRepo resource.
To reset a resource:
In the Pipelines view, click the resource and then click the Reset button.
Click Confirm.