Aiursoft.GitRunner 9.0.11

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aiursoft.GitRunner --version 9.0.11
                    
NuGet\Install-Package Aiursoft.GitRunner -Version 9.0.11
                    
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="9.0.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aiursoft.GitRunner" Version="9.0.11" />
                    
Directory.Packages.props
<PackageReference Include="Aiursoft.GitRunner" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aiursoft.GitRunner --version 9.0.11
                    
#r "nuget: Aiursoft.GitRunner, 9.0.11"
                    
#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.
#:package Aiursoft.GitRunner@9.0.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aiursoft.GitRunner&version=9.0.11
                    
Install as a Cake Addin
#tool nuget:?package=Aiursoft.GitRunner&version=9.0.11
                    
Install as a Cake Tool

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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
9.0.22 166 8/7/2025
9.0.21 173 8/5/2025
9.0.20 134 7/10/2025
9.0.19 138 7/9/2025
9.0.18 291 6/12/2025
9.0.17 288 6/11/2025
9.0.16 143 6/2/2025
9.0.15 103 6/1/2025
9.0.14 190 4/10/2025
9.0.12 164 3/19/2025
9.0.11 182 3/12/2025
9.0.10 187 3/12/2025
9.0.9 123 2/23/2025
9.0.8 132 2/13/2025
9.0.7 120 2/12/2025
9.0.6 131 2/1/2025
9.0.5 126 2/1/2025
9.0.3 113 1/27/2025
9.0.2 106 1/16/2025
9.0.1 126 12/31/2024
9.0.0 106 12/30/2024
8.0.15 146 10/28/2024
8.0.14 128 10/10/2024
8.0.13 137 10/9/2024
8.0.12 140 10/7/2024
8.0.11 176 7/7/2024
8.0.10 151 6/29/2024
8.0.8 150 6/13/2024
8.0.7 138 6/8/2024
8.0.6 162 3/17/2024
8.0.5 158 3/17/2024
8.0.4 163 3/16/2024
8.0.3 178 2/25/2024
8.0.2 166 2/19/2024
8.0.1 160 2/19/2024
8.0.0 149 2/19/2024
7.0.16 172 2/4/2024
7.0.15 147 2/2/2024
7.0.14 138 2/2/2024
7.0.13 146 1/30/2024
7.0.12 204 1/4/2024
7.0.11 183 12/30/2023
7.0.10 177 12/26/2023
7.0.9 177 12/24/2023
7.0.8 196 12/11/2023
7.0.7 173 12/1/2023
7.0.6 162 12/1/2023
7.0.5 172 11/26/2023
7.0.4 164 11/26/2023
7.0.3 153 11/25/2023
7.0.2 169 11/25/2023
7.0.1 158 11/24/2023
7.0.0 159 11/24/2023
1.0.8 163 11/24/2023
1.0.7 173 11/24/2023
1.0.6 168 11/24/2023
1.0.5 154 11/24/2023
1.0.4 164 11/24/2023
1.0.3 166 11/24/2023
1.0.2 162 11/24/2023
1.0.1 171 11/24/2023