Possible Duplicate:
Creating GitHub repository with only a subset of a local repository's history
I am preparing an internal project for an open-source release on GitHub, and I am trying to find the best way to clean up the repository. The issue is that we have a long, messy commit history that is riddled with internal passwords, references, and hacks, and would like to start the release from a single, current commit. I understand that I could just squash the commits, or recreate the repository from the working copy files to achieve this, but I would also like to maintain the original history locally. Ideally, I would like to create a branch with a single starting commit that still can be merged to from the master branch so that all future commits can be merged into this staging branch and then periodically pushed to GitHub.
Is this reasonable? If so, what's the best way to achieve this. If not, do you have any suggestions for other ways to address this?