]> gitweb.fluxo.info Git - scripts.git/commitdiff
Sandbox: verbosity and minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 7 Apr 2014 15:07:50 +0000 (12:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 7 Apr 2014 15:07:50 +0000 (12:07 -0300)
sandbox

diff --git a/sandbox b/sandbox
index 8cce1e922f197b6cbaad3cffc9038d15fd77d29a..41093babca7ac999f938fdef7f628ea198560c64 100755 (executable)
--- 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 :)"