API Reference > Namespaces > revision_control Namespace > Classes > RevisionControl Class > RevisionControl Methods > commit Method > RevisionControl::commit Method (OdTfCommitInfo&, OdTfDigest&)
RevisionControl::commit Method (OdTfCommitInfo&, OdTfDigest&)
Syntax
C++
void commit(OdTfCommitInfo& commit_message, OdTfDigest& revision_sha);
Parameters 
Description 
OdTfCommitInfo& commit_message 
[in] message for revision (autor, log)  
OdTfDigest& revision_sha 
[out] sha of just created revision note 

Stores the current workspace changes in a new commit along with a log message from the user describing the changes.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.