Skip to content
Commits on Source (2)
......@@ -28,16 +28,16 @@ echo ""
echo "Cleanup the working directory..."
shopt -s extglob
rm -Rfv !(debian)
rm -Rf .git* .travis* .pc .idea .settings .classpath .project .checkstyle .lein-failures .dockerignore
echo ""
echo "Prepating the local repository..."
rm -Rf .git* .travis* .pc .idea .settings .classpath .project .checkstyle .lein-failures .dockerignore
echo "Preparing the local repository..."
git init
git remote add origin git+ssh://salsa.debian.org/$TEAM/$PACKAGE
git add debian
git commit -m "Initial packaging"
# Create the uptream branch
# Create the upstream branch
git checkout --orphan upstream
git rm -rf .
git commit --allow-empty -m 'Initial upstream branch.'
......