mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
14 lines
617 B
Plaintext
Executable File
14 lines
617 B
Plaintext
Executable File
# Synchronizes submodules' remote URL with .gitmodules
|
|
git submodule sync --recursive
|
|
# Update the registered submodules with initialize not yet initialized
|
|
git submodule update --init --recursive
|
|
# Reset all changes done after HEAD
|
|
git submodule foreach git reset --hard
|
|
# Clean files from .gitignore
|
|
git submodule foreach git clean -xfd
|
|
# Repeat last 4 commands for all submodule
|
|
git submodule foreach git submodule sync --recursive
|
|
git submodule foreach git submodule update --init --recursive
|
|
git submodule foreach git submodule foreach git reset --hard
|
|
git submodule foreach git submodule foreach git clean -xfd
|