Codebase
class, including:
Codebase.git_commit(...)
:
git_commit
will only commit changes that have been synced to the filesystem
by calling Codebase.commit()
. See
Commit and Reset
for more
details.Codebase.checkout(...)
method allows you to switch between branches and commits.
This will automatically re-parse the codebase to reflect the new state.