# File lib/rugged_adapter/git_layer_rugged.rb, line 278 def push(remote, branches = nil, options = {}) branches = [branches].flatten.map {|branch| "refs/heads/#{branch}" unless branch =~ /^refs\/heads\//} @repo.push(remote, branches, options) end