Created
February 20, 2020 12:16
-
-
Save Ujang360/e8ada842126edc9f50455a42efc99ea9 to your computer and use it in GitHub Desktop.
Restore repo and its submodules state into clean-current-head with `git clean-recursively`
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 | |
git clean -ffdx && git submodule foreach --recursive git clean -ffdx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment