Module: Gitstart::Sh::Git

Extended by:
Git
Included in:
Git
Defined in:
lib/gitstart.rb

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

#statusObject



102
103
104
# File 'lib/gitstart.rb', line 102

def status
  `git status 2>&1`
end