Last active
January 21, 2021 13:01
-
-
Save pearswj/a2df4f63b599324a89e984f7150a81ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
for dir in pull_request2_* | |
do | |
echo -e "\n----> Cleaning $dir\n" | |
pushd $dir | |
# remove all untracked files | |
git clean -xdff | |
git submodule foreach --recursive git clean -xdf | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment