Aiursoft.GitRunner 8.0.6

dotnet add package Aiursoft.GitRunner --version 8.0.6
NuGet\Install-Package Aiursoft.GitRunner -Version 8.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aiursoft.GitRunner" Version="8.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aiursoft.GitRunner --version 8.0.6
#r "nuget: Aiursoft.GitRunner, 8.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aiursoft.GitRunner as a Cake Addin
#addin nuget:?package=Aiursoft.GitRunner&version=8.0.6

// Install Aiursoft.GitRunner as a Cake Tool
#tool nuget:?package=Aiursoft.GitRunner&version=8.0.6

GitRunner

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.GitRunner) ManHours

GitRunner is a tool to help you run git commands in C#.

Installation

To install Aiursoft.GitRunner to your project from nuget.org:

dotnet add package Aiursoft.GitRunner

How to use

You can use this tool to Clone\Push\Commit git repositories.

var serviceProvider = new ServiceCollection()
    .AddLogging()
    .AddGitRunner()
    .BuildServiceProvider();
var repoPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Directory.CreateDirectory(repoPath);

var workspaceManager = serviceProvider.GetRequiredService<WorkspaceManager>();
await workspaceManager.Clone(
    repoPath, 
    "master", 
    "https://gitlab.aiursoft.cn/aiursoft/gitrunner.git",
    mode);

var branch = await workspaceManager.GetBranch(repoPath); // master
var remote = await workspaceManager.GetRemoteUrl(repoPath); // https://gitlab.aiursoft.cn/aiursoft/gitrunner.git

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.6 86 3/17/2024
8.0.5 83 3/17/2024
8.0.4 98 3/16/2024
8.0.3 106 2/25/2024
8.0.2 97 2/19/2024
8.0.1 86 2/19/2024
8.0.0 78 2/19/2024
7.0.16 96 2/4/2024
7.0.15 78 2/2/2024
7.0.14 72 2/2/2024
7.0.13 84 1/30/2024
7.0.12 138 1/4/2024
7.0.11 112 12/30/2023
7.0.10 115 12/26/2023
7.0.9 117 12/24/2023
7.0.8 129 12/11/2023
7.0.7 124 12/1/2023
7.0.6 111 12/1/2023
7.0.5 118 11/26/2023
7.0.4 118 11/26/2023
7.0.3 111 11/25/2023
7.0.2 111 11/25/2023
7.0.1 107 11/24/2023
7.0.0 100 11/24/2023
1.0.8 110 11/24/2023
1.0.7 109 11/24/2023
1.0.6 112 11/24/2023
1.0.5 107 11/24/2023
1.0.4 112 11/24/2023
1.0.3 108 11/24/2023
1.0.2 109 11/24/2023
1.0.1 114 11/24/2023