|
| |
| HomeFAQMember listActive usersLatest postsSearch | RegisterLog in |
| voxelmanip.se |
|
Posted on 2025-10-04 14:00 Link |
|
Posts: 57 Joined: 2022-06-10 |
Cleaning up a Git repository for public consumption![]() 4 October 2025 When you're considering making a previously private Git repository public, with all the history potentially spanning back years, it's rarely an easy decision. The repository and its history may contain all sorts of things you don't want to inadvertently publish, whether it be sensitive information or even just embarrassing things you never expected to end up being public when developing it in private. The simplest way would be to just clean up the final state of the repository. Then create an empty repository importing everything into a new initial commit, throwing away the old commit history. But this also throws away a lot of context and history of the project. If someone else interested in your newly opened repository ever wanted to look back at how something was done or why a certain decision was made, it would be much harder without the commit history. |
Rendered in 9.141 ms with 641KB memory used
Voxelmanip Forums (Cirrusboard)© 2022-2025 ROllerozxa, et al. |