Skip to content
Browse files

Merge pull request #3 from mschae/master

Make stuff work again
  • Loading branch information...
2 parents 9d67b14 + 52cef36 commit f845b5d558c3b9602b4fe68546e1c37d2559adf7 @winton committed Mar 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/gitcycle.rb
6 lib/gitcycle.rb
@@ -550,9 +550,9 @@ def checkout_remote_branch(options={})
if branches(:match => target)
if yes?("You already have a branch called '#{target}'. Overwrite?")
- run("git push origin :#{target} -q")
+ run("git push origin :#{target}")
run("git checkout master -q")
- run("branch -D #{target}")
+ run("git branch -D #{target}")
run("git checkout #{target} -q")
run("git pull origin #{target} -q")
@@ -574,7 +574,7 @@ def checkout_remote_branch(options={})
puts "Pushing 'origin/#{target}'.\n".green
- run("git push origin #{target} -q")
+ run("git push origin #{target}")
def collab?(branch)

0 comments on commit f845b5d

Please sign in to comment.
Something went wrong with that request. Please try again.