I have a project, the source of which I'm managing with Git. It's a big project--relative to my experience--and I feel like I will completely re-write at some point after its completion. Though this is a problem I won't encounter for a long time, I'm curious: how would I manage a complete re-write with Git?
Would it be best to make a completely new repo to manage the code? Or perhaps branch my WC and re-build inside there? Though it probably depends on specifics (e.g. how much code will be re-written, will I want to be able to reference old files or lines of code), what would be the best way to handle this? For generality's sake, let's answer those two questions: Imagine a complete re-write, but with lessons learned from the 1.0 build, if you will.
I hope that makes sense. Let me know if you need more clarification. Thanks.