Aiursoft.GitRunner 8.0.9

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.

No packages depend on Aiursoft.GitRunner.

Version Downloads Last updated
8.0.15 70 10/28/2024
8.0.14 39 10/10/2024
8.0.13 8 10/09/2024
8.0.12 10 10/07/2024
8.0.11 179 07/07/2024
8.0.10 28 06/29/2024
8.0.9 1 06/25/2024
8.0.8 22 06/13/2024
8.0.7 11 06/08/2024
8.0.6 172 03/26/2024
8.0.5 7 04/13/2024
8.0.4 8 04/12/2024
8.0.3 8 04/24/2024
8.0.2 7 04/24/2024
8.0.1 7 04/24/2024
8.0.0 8 04/24/2024
7.0.16 7 04/21/2024
7.0.15 6 04/28/2024
7.0.14 6 03/30/2024
7.0.13 6 04/03/2024
7.0.12 5 04/28/2024
7.0.11 7 04/28/2024
7.0.10 5 04/28/2024
7.0.9 8 04/24/2024
7.0.8 6 04/24/2024
7.0.7 5 04/24/2024
7.0.6 8 04/24/2024
7.0.5 7 04/24/2024
7.0.4 7 04/24/2024
7.0.3 5 04/24/2024
7.0.2 6 04/24/2024
7.0.1 6 04/29/2024
7.0.0 5 04/29/2024
1.0.8 5 04/29/2024
1.0.7 4 04/29/2024
1.0.6 6 04/29/2024
1.0.5 8 04/29/2024
1.0.4 8 04/29/2024
1.0.3 6 04/29/2024
1.0.2 6 04/29/2024
1.0.1 7 04/29/2024