littlefs-project / littlefs

A little fail-safe filesystem designed for microcontrollers
BSD 3-Clause "New" or "Revised" License
4.9k stars 771 forks source link

Delete branches on merge. #928

Open BrianPugh opened 5 months ago

BrianPugh commented 5 months ago

Hey @geky! Just a project maintenance recommendation, go under the github settings an enable "Automatically delete head branches." And then maybe go back through and delete all the merged-in branches.

After pull requests are merged, you can have head branches deleted automatically.

[ ] Automatically delete head branches  
    Deleted branches will still be able to be restored.
geky commented 5 months ago

Ah, I'm not sure this will work since littlefs has a number of long-lived branches that occasionally get merged into each other (devel, v2, v2-prefix).

But I can go through and delete the merged branches, and change gears to habitually delete branches on merge.

Out of curiosity, does GitHub document how long deleted branches can be restored for? That's kind of a strange subdescription.