Skip to content

Instantly share code, notes, and snippets.

View lucas-manuel's full-sized avatar

Lucas Manuel lucas-manuel

View GitHub Profile
@lucas-manuel
lucas-manuel / repo-rinse.sh
Created December 15, 2021 18:25 — forked from nicktoumpelis/repo-rinse.sh
Cleans and resets a git repo and its submodules
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