Wipe Git history from a repository | Freek Van der Herten

A short guide to removing Git history entirely. Particularly useful when you're forking an existing project as a base for something new.

  1. Delete the .git folder entirely
  2. Run git init to create a new one
  3. Add all files and create your new first commit

Not tricky, but surprised me that there wasn't a solution within Git itself.

Explore Other Notes

Older

World building online

This looks like a very interesting world-building tool. Create maps, family histories, write stories, track campaigns, all from a single profile. Neat […]
  • A short guide to removing Git history entirely. Particularly useful when you're forking an existing project as a base for something […]
  • Murray Adcock.
Journal permalink