Aiursoft.GitRunner
7.0.12
See the version list below for details.
dotnet add package Aiursoft.GitRunner --version 7.0.12
NuGet\Install-Package Aiursoft.GitRunner -Version 7.0.12
<PackageReference Include="Aiursoft.GitRunner" Version="7.0.12" />
paket add Aiursoft.GitRunner --version 7.0.12
#r "nuget: Aiursoft.GitRunner, 7.0.12"
// Install Aiursoft.GitRunner as a Cake Addin #addin nuget:?package=Aiursoft.GitRunner&version=7.0.12 // Install Aiursoft.GitRunner as a Cake Tool #tool nuget:?package=Aiursoft.GitRunner&version=7.0.12
GitRunner
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.0
- Aiursoft.Canon (>= 7.0.6)
- Aiursoft.CSTools (>= 7.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
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.15 | 84 | 10/28/2024 |
8.0.14 | 81 | 10/10/2024 |
8.0.13 | 82 | 10/9/2024 |
8.0.12 | 78 | 10/7/2024 |
8.0.11 | 128 | 7/7/2024 |
8.0.10 | 106 | 6/29/2024 |
8.0.8 | 99 | 6/13/2024 |
8.0.7 | 88 | 6/8/2024 |
8.0.6 | 120 | 3/17/2024 |
8.0.5 | 104 | 3/17/2024 |
8.0.4 | 120 | 3/16/2024 |
8.0.3 | 135 | 2/25/2024 |
8.0.2 | 125 | 2/19/2024 |
8.0.1 | 118 | 2/19/2024 |
8.0.0 | 109 | 2/19/2024 |
7.0.16 | 131 | 2/4/2024 |
7.0.15 | 103 | 2/2/2024 |
7.0.14 | 99 | 2/2/2024 |
7.0.13 | 110 | 1/30/2024 |
7.0.12 | 161 | 1/4/2024 |
7.0.11 | 145 | 12/30/2023 |
7.0.10 | 140 | 12/26/2023 |
7.0.9 | 140 | 12/24/2023 |
7.0.8 | 159 | 12/11/2023 |
7.0.7 | 144 | 12/1/2023 |
7.0.6 | 139 | 12/1/2023 |
7.0.5 | 142 | 11/26/2023 |
7.0.4 | 138 | 11/26/2023 |
7.0.3 | 126 | 11/25/2023 |
7.0.2 | 142 | 11/25/2023 |
7.0.1 | 131 | 11/24/2023 |
7.0.0 | 132 | 11/24/2023 |
1.0.8 | 137 | 11/24/2023 |
1.0.7 | 140 | 11/24/2023 |
1.0.6 | 139 | 11/24/2023 |
1.0.5 | 127 | 11/24/2023 |
1.0.4 | 136 | 11/24/2023 |
1.0.3 | 140 | 11/24/2023 |
1.0.2 | 138 | 11/24/2023 |
1.0.1 | 140 | 11/24/2023 |