BASE_PATH=$(cd "$(dirname "$0")"; pwd -P) cd $BASE_PATH # Ignore config file from worktree git update-index --skip-worktree wp-config.php # Update all submodules git submodule update --init --recursive