Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the number of branches #479

Open
TheFGFSEagle opened this issue Jan 20, 2022 · 5 comments
Open

Reduce the number of branches #479

TheFGFSEagle opened this issue Jan 20, 2022 · 5 comments

Comments

@TheFGFSEagle
Copy link
Contributor

I don't know the exact number, but I think you have more than 200 branches in this repository, resulting in a size of over 700 MB when git clone'ing. When I installed this repository, it took one hour to download … 🙄

@hbeni
Copy link
Collaborator

hbeni commented Jan 20, 2022

Afaik it’s heikos project policy to keep them.
From my point of view I would be ok with deleting old ones - most of the code is already in master.
In my other projects I delete merged branches after closing the PR.

But I think @HHS81 should state his wishes.

@HHS81
Copy link
Owner

HHS81 commented Jan 20, 2022

I don't know the exact number, but I think you have more than 200 branches in this repository, resulting in a size of over 700 MB when git clone'ing. When I installed this repository, it took one hour to download … 🙄

wow- that much? Yeah, I think we should delete very most of them.

@HHS81
Copy link
Owner

HHS81 commented Jan 20, 2022

where to start easily?

@hbeni
Copy link
Collaborator

hbeni commented Jan 20, 2022

I will look over that the next days or so.
I think github lets sort them by age.

@hbeni hbeni self-assigned this Jan 20, 2022
@hbeni
Copy link
Collaborator

hbeni commented Jan 20, 2022

I now deleted all branches whose pull requests were merged or closed.

That leaves us with the following branch types:

  • branches without PR (@HHS81 you might check them. Once ready, you can finally close this issue)
  • branches for draft PRs (I would keep them until we decide to finally neglect the respective draft PR)
  • branches for open PRs (those need to be tested/verified, merged and then can be deleted)

Overview: https://github.com/HHS81/c182s/branches/all

@hbeni hbeni assigned HHS81 and unassigned hbeni Jan 20, 2022
@TheFGFSEagle TheFGFSEagle reopened this Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants