What do you do to completely overhaul a project in git — like a blog?
Do you force push and blow the past away? Orphan branch and merge it in?
What do you do to completely overhaul a project in git — like a blog?
Do you force push and blow the past away? Orphan branch and merge it in?
For further actions, you may consider blocking this person and/or reporting abuse
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Kudzai Murimi -
Daniel T Sasser II -
Md. Abu Raihan Srabon -
Rahul Yavvari -
Top comments (3)
The last time I had to do it, I pruned everything and committed the deletion as any other regular changes. That way, I can tell that I decided an overhaul.
If you purge your entire past works with force push, you will lost ability to go back and recover bits that you later find useful. It is also not healthy for other places that check out the same repository for, e.g., on-server building purposes.
That's a great idea!
This right here.