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
Quiet
Whether Git reduces reported push details.
public bool Quiet { get; init; }Property Value
Remote
The remote name; when omitted, Git uses its configured default.
public string? Remote { get; init; }Property Value
Verbose
Whether Git reports additional push details.
public bool Verbose { get; init; }