Method: GitHelpers::GitBranch#push

Defined in:
lib/git_helpers/branch.rb

#push(short: true) ⇒ Object



186
187
188
189
190
191
# File 'lib/git_helpers/branch.rb', line 186

def push(short: true)
	# pu=%x/git rev-parse --abbrev-ref #{@branch.shellescape}@{push}/.chomp!
	br= short ? infos["push:short"] : infos["push"]
	br=nil if br.empty?
	new_branch(br)
end