Skip to content
This repository
Browse code

Making sure we don't update undefined values, removing unnecessary Gi…

…thub API call
  • Loading branch information...
commit 82c2e1576765699cb2ea2ed01eb1ac7588ea88bc 1 parent f845b5d
Winton Welsh authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/gitcycle.rb
4 lib/gitcycle.rb
@@ -550,7 +550,7 @@ def checkout_remote_branch(options={})
550 550
551 551 if branches(:match => target)
552 552 if yes?("You already have a branch called '#{target}'. Overwrite?")
553   - run("git push origin :#{target}")
  553 + run("git push origin :#{target} -q")
554 554 run("git checkout master -q")
555 555 run("git branch -D #{target}")
556 556 else
@@ -574,7 +574,7 @@ def checkout_remote_branch(options={})
574 574 end
575 575
576 576 puts "Pushing 'origin/#{target}'.\n".green
577   - run("git push origin #{target}")
  577 + run("git push origin #{target} -q")
578 578 end
579 579
580 580 def collab?(branch)

0 comments on commit 82c2e15

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