Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added back in edge creation

  • Loading branch information...
commit 82a102f8d3cb12f973b5af20f637ec4dc1f8139a 1 parent eaad029
@pinguskahn pinguskahn authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/railsmachine/recipes/scm/git.rb
View
8 lib/railsmachine/recipes/scm/git.rb
@@ -34,6 +34,14 @@
puts "Pushing application to the remote server. The name of the branch is:"
system "git remote"
system "git push origin master"
+
+ puts "Creating edge branch on remote"
+ system "git push origin master:refs/heads/edge"
+ puts "create a local tracking edge branch"
+ system "git branch --track edge origin/edge"
+ puts "checking out edge repository"
+ system "git checkout master"
+
puts "git setup complete"
puts "You can clone this repository with git clone #{repository} #{application}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.