I have been working on a private repository, where the project has initially been created with some sensible data. Now that I have enough content on the project I'd like to make it public on Github.
The work is still on-going and I'd like to avoid to maintain two different repositories.
From commit 29
everything would remain in sync (private and public).
From what I've read
This seems to be impossible based on the way Git works (cf. Based on this answer)
But
Could it be possible to fiddle around with the git hooks from my private repository to push to github ?
SO references
Managing a private and public remote with different histories
Import existing source code to GitHub
Resetting remote to a certain commit
Maintain a private and a public repo simultaneously using git branch with two different clouds
GitHub: How to make a fork of public repository private?