Have you ever found your GitHub repo having too many branches? Was it because you and your teammates keep forgetting to delete a branch after it gets merged?
You can fix this in 3 easy steps:
- On GitHub, navigate to the main page of the repository.
- Under your repository name, click "Settings".
- Under "Merge button", select or unselect "Automatically delete head branches"
Now, the next time you merge a branch, it will get automatically deleted. Keeping your repository from having too many branches.
Thanks for reading. Did this help you out? If it did, I hope you consider sharing it. You might help someone else out. Thanks so much!