Click or drag to resize

IVersionControlRevertToCommitAsync Method

Reverts to a specified commit by creating a new commit that reverts all more recent commits. Note that any unsaved or uncommitted changes will be lost.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntax
C#
Task RevertToCommitAsync(
	string id,
	string message,
	string username,
	string email
)

Parameters

id
Type: SystemString
The full ID of the commit to revert to.
message
Type: SystemString
The commit message for the new commit.
username
Type: SystemString
The Git user name.
email
Type: SystemString
The Git email address.

Return Value

Type: Task

[Missing <returns> documentation for "M:Demo3D.Common.IVersionControl.RevertToCommitAsync(System.String,System.String,System.String,System.String)"]

See Also