Jgrass.MSBuild.GitTask 1.0.0-beta

This is a prerelease version of Jgrass.MSBuild.GitTask.
dotnet add package Jgrass.MSBuild.GitTask --version 1.0.0-beta
                    
NuGet\Install-Package Jgrass.MSBuild.GitTask -Version 1.0.0-beta
                    
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="Jgrass.MSBuild.GitTask" Version="1.0.0-beta">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jgrass.MSBuild.GitTask" Version="1.0.0-beta" />
                    
Directory.Packages.props
<PackageReference Include="Jgrass.MSBuild.GitTask">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Jgrass.MSBuild.GitTask --version 1.0.0-beta
                    
#r "nuget: Jgrass.MSBuild.GitTask, 1.0.0-beta"
                    
#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 Jgrass.MSBuild.GitTask@1.0.0-beta
                    
#: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=Jgrass.MSBuild.GitTask&version=1.0.0-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Jgrass.MSBuild.GitTask&version=1.0.0-beta&prerelease
                    
Install as a Cake Tool

Jgrass.MSBuild.GitTask

alternate text is missing from this package README image

git task for msbuild, base netstandard2.0

🍉 LargeFileInterceptTask

Implement interception of committed file size through git pre-commit hook. If the size exceeds the set value, then either prompt or intercept.

GitLargeFileInterceptHardLimit: Set the hard limit size (in bytes) where submission fails if exceeded. default value: 10000000;
GitLargeFileInterceptSoftLimit: Set the soft limit size (in bytes) where a prompt is given if exceeded. default value: 1000000;
LargeFileInterceptTaskEnable: Enable or disable this task; enabled by default. If set to any non-true value, the task functionality is disabled.

How to use

in csproj file:

<PropertyGroup>
  <GitLargeFileInterceptHardLimit>10000000</GitLargeFileInterceptHardLimit>
  <GitLargeFileInterceptSoftLimit>1000000</GitLargeFileInterceptSoftLimit>
</PropertyGroup>

<ItemGroup>
  <PackageReference Include="Jgrass.MSBuild.GitTask" Version="1.0.0-alpha" />
</ItemGroup>
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

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
1.0.0-beta 83 12/4/2024
1.0.0-alpha 66 12/4/2024