1
0
mirror of synced 2026-01-01 09:02:59 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/fixtures/scripts/init_repository.sh

13 lines
217 B
Bash
Executable File

#!/bin/bash
if git status
then
echo "Repository already initialized"
elif [ ! "$1" ]
then
echo "No repository url was provided"
else
git init
git remote add origin "$1"
echo "Initialized repository $1"
fi