How long do you keep a Git branch around after you merge it?

I have a habit of deleting the branch immediately after merging, but I've had to use the reflog to recover updates a few times over the last few years. I'm wondering if I should keep branches around a little longer before deleting.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/ehmatthes/statuses/115531625002934526 on your instance and quote it. (Note that quoting is not supported in Mastodon.)