LibGit2.PowerShell
0.3.0
dotnet add package LibGit2.PowerShell --version 0.3.0
NuGet\Install-Package LibGit2.PowerShell -Version 0.3.0
<PackageReference Include="LibGit2.PowerShell" Version="0.3.0" />
paket add LibGit2.PowerShell --version 0.3.0
#r "nuget: LibGit2.PowerShell, 0.3.0"
// Install LibGit2.PowerShell as a Cake Addin
#addin nuget:?package=LibGit2.PowerShell&version=0.3.0
// Install LibGit2.PowerShell as a Cake Tool
#tool nuget:?package=LibGit2.PowerShell&version=0.3.0
LibGit2 is a PowerShell module for working with Git repositories. You can use it to create, clone, query, push to, pull from, and commit to Git repositories.
This module uses the .NET wrapper of [libgit2](https://libgit2.github.com/), "a portable, pure C implementation of... Git", which allows you to call Git via API instead using the Git command line interface.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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 |
---|
* Added `Get-GitCommit` function for getting commits.
* Added `Test-GitOutgoingCommit` function for checking if there are outgoing changes.
* Added `Test-GitUncommmittedChange` function for checking if there are any uncommitted changes in a repository.
* Added `Receive-GitCommit` function for pulling/fetching changes into a repository from a remote repository.
* Added `Test-GitRemoteUri` function for testing if a URI points to a Git repository.
* Added `Test-GitIncomingCommit` function for testing if there are incoming/unpulled/unfetched commits.
* Added `Get-GitBranch` function for getting the branches in a repository.
* Added `New-GitBranch` function for creating a new branch in a repository.
* Added `Test-GitBranch` function for testing if a branch exists in a repository.
* Added `Get-GitTag` function for getting the tags in a repository.
* Added `New-GitTag` function for creating tags in a repository.
* Added `Test-GitTag` function for testing if a tag exists in a repository.
* Added `Update-GitRepository` for updating a repository to a commit, branch, tag, etc, i.e. for checking out a specific commit.