Skip to content

Instantly share code, notes, and snippets.

@apkunpacker
Forked from nicktoumpelis/repo-rinse.sh
Created July 1, 2025 11:16
Show Gist options
  • Save apkunpacker/3911e26d03c9ed48ef80e7536d6d8d90 to your computer and use it in GitHub Desktop.
Save apkunpacker/3911e26d03c9ed48ef80e7536d6d8d90 to your computer and use it in GitHub Desktop.

Revisions

  1. @nicktoumpelis nicktoumpelis created this gist Apr 23, 2014.
    5 changes: 5 additions & 0 deletions repo-rinse.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    git clean -xfd
    git submodule foreach --recursive git clean -xfd
    git reset --hard
    git submodule foreach --recursive git reset --hard
    git submodule update --init --recursive