Skip to content

Repository files navigation

Soenneker.Libraries.Git.Windows

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

Install

dotnet add package Soenneker.Libraries.Git.Windows

The distribution is copied beneath the application output directory. Use the command entry point so Git can locate the bundled helper programs:

string git = Path.Combine(
    AppContext.BaseDirectory,
    "Resources", "win-x64", "git", "cmd", "git.exe");

Pass each Git argument through ProcessStartInfo.ArgumentList, especially repository paths, refs, and commit messages derived from input. Set the working directory explicitly when a command should operate on a particular repository.

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

About

Provides a statically linked git executable for Windows.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages