Method: Gitit::GitBranches#create_local_branch
- Defined in:
- lib/gitit/git_branches.rb
#create_local_branch(name) ⇒ Object
40 41 42 43 |
# File 'lib/gitit/git_branches.rb', line 40 def create_local_branch(name) execute_command("branch --quiet #{name}") $?.exitstatus == 0 end |