aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsandbox14
1 files changed, 10 insertions, 4 deletions
diff --git a/sandbox b/sandbox
index 8cce1e9..41093ba 100755
--- a/sandbox
+++ b/sandbox
@@ -32,11 +32,16 @@ else
git commit -m "Initial import"
if which git-hooks &> /dev/null; then
+ echo ""
+ echo "Installing hooks..."
git hooks --install
fi
+ git branch develop
+
if [ -e "/usr/lib/git-core/git-flow" ]; then
- git branch develop
+ echo ""
+ echo "Setting up git-flow..."
git flow init -d
fi
)
@@ -44,9 +49,10 @@ fi
# Vagrant integration
(
+ echo ""
+ echo "Setting up vagrant integration..."
cd $CODE/$PROJECT
- git branch dev
- git checkout dev
+ git checkout develop
echo '.vagrant' >> .gitignore
git commit -a -m "Dev branch with vagrant support"
@@ -57,4 +63,4 @@ fi
)
# Teardown
-echo "Please review and commit your new project :)"
+echo "Welcome to your new project :)"