Suppose I have Git repository like this:
git-repo/
directory_1/
directory_2/
directory_3/
This has a long history, and the history contains some code that I don't want anyone to have access to. I also don't want to release directory_1
.
I want to release directory_2
and directory_3
, but with no history information. Going forward, I will be continuing development in the original repository, and would like to also update the release fork with these changes.
The original repository is hosted as a private repository on GitHub right now.
How should I do this?