-
Notifications
You must be signed in to change notification settings - Fork 4
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
Removing my stale branches #112
Comments
I feel like there is a large diff here and not sure if it's worth it to really dig in. I think a lot of these old branches would be difficult to go through and there really isn't a way to know what we would be trying to get out of them unless the original authors had pointed something out. Looks like a majority of this stuff has been implemented so I'm fine deleting these branches. I don't think Are we planning on saving these old branches somewhere else just in case we decide to go back to them before we start removing? I don't think it's necessary and don't expect to go through other old branches but honestly don't know what is on them. |
Stashing the branch history is fine but I think some pruning wouldn't hurt either, particularly if a branch has been fully merged (presumably there are a few). |
GitHub has useful pages to list active and stale branches, see how many commits they have ahead & behind master, and delete them. To handle stale branches that have unmerged changes, we talked about cloning the repo somewhere before deleting them. But here's a better technique: tag those branches in the repo before deleting them. Then it's easy to recover the branch if desired. Each such tag could be named like
|
I like the tag idea. Seems like a good alternative as long as it doesn't take too much time to go through and tag each branch. We'll just have to identify which ones are no longer active branches at this point, which I'd imagine is most of them |
The GitHub tool for viewing stale branches shows for each branch how old it is and how many commits it is ahead and behind master. Branches with 0 commits ahead of master are safe to delete. The hardest part about tagging the rest is deciding what message to attach, if anything. |
Tagging sounds good to me. One |
The StackOverflow answer suggested using the prefix If you know enough about the old branches to categorize them, that could look like |
This has been resolved. |
I have two stale branches that I think can be deleted but I'd like for @tahorst to take a look, as they both pertain to metabolism. They are:
cvxpy
stuff is interesting.@tahorst Feel free to delete them yourself, or just give me the 👍 .
The text was updated successfully, but these errors were encountered: