Do you save failed experiments in abandoned pull requests?

Last updated by Tiago Araújo [SSW] 11 months ago.See history

This rule has been archived
Archived Reason: Merged to https://www.ssw.com.au/rules/do-you-record-your-research-under-the-pbi

Assume you are creating a cool new feature. First you will create a new branch, create some commits, check it works, and submit a pull request. However, if you are not happy with the feature then don’t just delete the branch as normal. Instead, create a pull request anyway and set the status to Abandoned. Now, you can continue to delete your branch as normal.

This makes sure that we have a historical log of work completed, and still keeps a clean repository.

create pr for failed branch
Figure: Good example - Setup pull request for feature branch so that we have a history of the commits

abandoned pr for branch
Figure: Good example - PR is abandoned with a deleted branch


We open source.Loving SSW Rules? Star us on GitHub. Star
Stand by... we're migrating this site to TinaCMS