You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
401 B
17 lines
401 B
#!/bin/bash
|
|
|
|
REPO_URL="https://github.com/automazeio/ccpm.git"
|
|
TARGET_DIR="."
|
|
|
|
echo "Cloning repository from $REPO_URL..."
|
|
git clone "$REPO_URL" "$TARGET_DIR"
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "Clone successful. Removing .git directory..."
|
|
rm -rf .git .gitignore install
|
|
echo "Git directory removed. Repository is now untracked."
|
|
else
|
|
echo "Error: Failed to clone repository."
|
|
exit 1
|
|
fi
|