Aiursoft.GitRunner 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.

No packages depend on Aiursoft.GitRunner.

Version Downloads Last updated
8.0.6 119 03/26/2024
8.0.5 3 04/13/2024
8.0.4 4 04/12/2024
8.0.3 2 04/24/2024
8.0.2 2 04/24/2024
8.0.1 2 04/24/2024
8.0.0 2 04/24/2024
7.0.16 2 04/21/2024
7.0.15 1 04/28/2024
7.0.14 2 03/30/2024
7.0.13 2 04/03/2024
7.0.12 1 04/28/2024
7.0.11 1 04/28/2024
7.0.10 1 04/28/2024
7.0.9 2 04/24/2024
7.0.8 2 04/24/2024
7.0.7 2 04/24/2024
7.0.6 2 04/24/2024
7.0.5 2 04/24/2024
7.0.4 2 04/24/2024
7.0.3 2 04/24/2024
7.0.2 2 04/24/2024
7.0.1 1 04/29/2024
7.0.0 1 04/29/2024
1.0.8 1 04/29/2024
1.0.7 1 04/29/2024
1.0.6 1 04/29/2024
1.0.5 1 04/29/2024
1.0.4 1 04/29/2024
1.0.3 1 04/29/2024
1.0.2 1 04/29/2024
1.0.1 1 04/29/2024