GitCommit Class

Summary

Representation of a Git commit.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitCommit"] class Type type-node

Syntax

public sealed class GitCommit

Fields

Name Constant Value Summary
RootCommit 4b825dc642cb6eb9a060e54bf8d69288fbee4904
Commit Id for bare repository
static

Properties

Name Value Summary
Author GitSignature
Commit author.
Committer GitSignature
Commit comitter.
Message string
Commit message.
MessageShort string
Commit short message.
Sha string
Sha Id of commit.

Methods

Name Value Summary
ToString() string
Generates a string representation of GitCommit

Extension Methods

Name Value Summary
Dump<GitCommit>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitCommit>(GitCommit[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitCommit>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitCommit>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitCommit>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitCommit>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin