Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Matthew Leibowitz mattleibow

🏠
Working from home
View GitHub Profile
@nicktoumpelis
nicktoumpelis / repo-rinse.sh
Created Apr 23, 2014
Cleans and resets a git repo and its submodules
View repo-rinse.sh
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