trying to get installer working
This commit is contained in:
@@ -12,6 +12,7 @@ echo "" > README.md
|
||||
echo "Created a fresh repo for your ${PROJECTNAME} project." >> README.md
|
||||
|
||||
# Initialize a new Git repository
|
||||
echo -e "\n\e[32mSetup Git Locally\e[0m\n";
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Initial commit of new project $PROJECTNAME"
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
PROJECTNAME=$(basename "$(pwd)")
|
||||
|
||||
echo -e "\n\e[32mSetup Git Remotely\e[0m\n";
|
||||
|
||||
if [ "$DEBUG" = "true" ]; then
|
||||
# Debugging
|
||||
echo "DEBUGGING"
|
||||
@@ -40,8 +42,6 @@ if [ "$DEBUG" = "true" ]; then
|
||||
echo "$SSH_URL"
|
||||
fi
|
||||
|
||||
echo "Repository '$PROJECTNAME' created successfully on Gitea."
|
||||
|
||||
# Add new remote repository
|
||||
git remote add origin "$SSH_URL"
|
||||
git remote -v
|
||||
|
||||
Reference in New Issue
Block a user