Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 625 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 625 Bytes

How to delete all commit history in Github, or in other remote git repositories?

  1. Install Nix if you haven't already:
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  2. Clone the repository:
    git clone 'https://github.com/rayanamal/clean-my-commit-history/'
  3. Inspect, and then run the script:
    clean-my-commit-history/clean.sh

Notes

  • Enough disk space to download all given repositories is needed.
  • The user must have commit access to the given repositories.

Contributing

I accept contributions.