Skip to content

Instantly share code, notes, and snippets.

View splincode's full-sized avatar
💬
Typing...

Maksim Ivanov splincode

💬
Typing...
View GitHub Profile
@splincode
splincode / repo-rinse.sh
Created July 31, 2023 14:17 — 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