Module: Gitstart::Sh::Git
Instance Method Summary collapse
Instance Method Details
#checkout(branch_name) ⇒ Object
98 99 100 |
# File 'lib/gitstart.rb', line 98 def checkout(branch_name) `git checkout -b #{branch_name} 2>/dev/null` end |
#status ⇒ Object
102 103 104 |
# File 'lib/gitstart.rb', line 102 def status `git status 2>&1` end |