| Class | Git::Branch |
| In: |
lib/git/branch.rb
|
| Parent: | Path |
| full | [RW] | |
| name | [RW] | |
| remote | [RW] |
g.branch(‘new_branch’).in_branch do
# create new file # do other stuff return true # auto commits and switches back
end