Hacker News new | ask | show | jobs
by hvgk 1644 days ago
Clone it then push it to a clean repo to destroy the history. Seriously. I understand security concerns but the history could expose previous bad practices which can be applied to other products you run. Bad patterns are endemic.

Also it gives you the chance to secret scan it and remove any swearing and embarrassing comments (I haven’t seen a codebase without any yet)

1 comments

clone and push does not destroy the history
Sorry I meant export and push.