Last active
November 15, 2019 14:42
-
-
Save eugenpirogoff/2ba6b45f9d962534d35479da14fd169a to your computer and use it in GitHub Desktop.
git hook post-checkout
This file contains 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
#!/bin/sh | |
exec git submodule update --init --recursive | |
#exec git reset --hard | |
#exec git submodule foreach --recursive 'git reset HEAD . || :' | |
#exec git submodule foreach --recursive 'git checkout -- . || :' | |
#exec git submodule update --init --recursive | |
#exec git clean -d -f -f -x | |
#exec git submodule foreach --recursive git clean -d -f -f -x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment