Skip to content

Repository files navigation

Soenneker.Libraries.Git.Linux

A self-contained Git distribution packaged for Linux x64 .NET applications.

Install

dotnet add package Soenneker.Libraries.Git.Linux

The distribution is copied beneath the application output directory. Invoke its launcher so the bundled libraries and Git helper programs are resolved correctly:

string git = Path.Combine(
    AppContext.BaseDirectory,
    "Resources", "linux-x64", "git", "git.sh");

Ensure git.sh is executable before starting it. Pass each Git argument through ProcessStartInfo.ArgumentList, especially repository paths, refs, and commit messages derived from input.

This package contains Linux x64 assets and does not provide a managed Git API or select binaries for other platforms.

About

Provides a statically linked git binary for Linux.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages