Table of Contents

Class GitPush

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Pushes the current branch using Git's configured refspec and upstream behavior.

public sealed record GitPush : GitCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<GitCommand>, IEquatable<GitPush>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Quiet

Whether Git reduces reported push details.

public bool Quiet { get; init; }

Property Value

bool

Remote

The remote name; when omitted, Git uses its configured default.

public string? Remote { get; init; }

Property Value

string?

Verbose

Whether Git reports additional push details.

public bool Verbose { get; init; }

Property Value

bool