Files
dl/third/ktx/install-gitconfig.sh
2026-09-16 14:07:40 +08:00

16 lines
315 B
Bash
Vendored

#!/usr/bin/env bash
# Add [include] of repo's .gitconfig in clone's .git/config.
# Copyright 2016 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0
# Set colors
GREEN='\033[1;32m'
NC='\033[0m'
git config --local include.path '../.gitconfig'
printf "${GREEN}Git config was successfully set.${NC}\n"