Cake AddIn that extends Cake with Git aliases using LibGit2 and LibGit2Sharp.
#addin nuget:?package=Cake.Git&version=5.0.1
dotnet add package Cake.Git --version 5.0.1
<PackageReference Include="Cake.Git" Version="5.0.1" />
Aliases
Contains functionality for working with GIT using LibGit2 & LibGit2Sharp.
NOTE:
The addin currently only runs on x64 processors. ARM processors are not supported.
Add
GitAdd |
Add file to index. |
GitAddAll |
Add all file changes to index. |
Branch
GitCreateBranch |
Creates a local Branch. |
Branches
GitBranchCurrent |
Gets the current branch. |
GitBranches |
Gets a list of all branches from the repository. |
Checkout
GitCheckout |
Checkout file. |
GitCheckout |
Checkout file(s) using supplied commit or branch spec. |
Clean
GitClean |
Remove untracked file(s) workspace. |
Clone
GitClone |
Clone unauthenticated using specific settings. |
GitClone |
Clone authenticated using specific settings. |
GitClone |
Clone authenticated using default options. |
GitClone |
Clone unauthenticated using default options. |
Commit
GitCommit |
Commit using default options. |
Configuration
GitConfigExists |
Returns whether a configuration value exists with the specifed key. |
GitConfigGet |
Gets the specified configuration value. If the specified value is not found it will return the specified default value. |
GitConfigGet |
Gets the specified configuration value. |
GitConfigSetLocal |
Gets the specified configuration value. If the specified value is not found it will return the specified default value. |
GitConfigUnsetLocal |
Unsets the specified local configuration key. |
Describe
GitDescribe |
Describe current branch. |
GitDescribe |
Describe current branch. |
GitDescribe |
Describe current branch. |
GitDescribe |
Describe specified commit-ish. |
GitDescribe |
Describe current branch. |
Diff
GitDiff |
Get changed files from certain commit id up to current. |
GitDiff |
Get changed files from certain commit id up to current. |
GitDiff |
Get changed files from inital commit id up to current. |
Fetch
GitFetch |
Download from another repository. |
GitFetch |
Download objects and refs from another repository. |
GitFetchTags |
Download tags from another repository. |
Init
GitInit |
Init using default options. |
Log
GitLog |
Get commit log. |
GitLog |
Get commit from certain commit id up to current. |
GitLogLookup |
Get specific commit. |
GitLogTag |
Get commits after a certain tag |
GitLogTip |
Get last commit |
Pull
GitPull |
Pull authenticating using default options. |
GitPull |
Pull unauthenticated using default options. |
Push
GitPush |
Push specific branch authenticated. |
GitPush |
Push all branches authenticated. |
GitPush |
Push all branches unauthenticated. |
GitPushRef |
Push a tag to a remote authenticated. |
GitPushRef |
Push a tag to a remote unauthenticated. |
Remotes
GitRemote |
Gets the specified remote from a Git repository. |
GitRemotes |
Gets a Git repository's remotes. |
Remove
GitRemove |
Remove file(s) from index. |
Repository
GitFindRootFromPath |
Finding git root path from subtree. |
GitHasStagedChanges |
Checks if a repository contains staged changes. |
Git |
Checks if a repository contains uncommited changes. |
GitHasUntrackedFiles |
Checks if a repository contains untracked files. |
GitIsValidRepository |
Checks if a specific directory is a valid Git repository. |
Reset
GitReset |
Sets the current branch head (HEAD) to a specified commit, optionally modifying index and working tree to match. |
GitReset |
Resets the current branch head (HEAD) optionally modifying index and working tree to match. |
Sha
GitShortenSha |
Get the short version of a commit SHA. |
Tag
GitTag |
Applys tagName to repository as annotated tag. |
GitTag |
Applys tagName to repository as annotated tag. |
GitTag |
Applys tagName to repository. |
GitTag |
Applys tagName to repository. |
Tags
GitTags |
Gets a list of all tags from the repository with the option to load targets of the tags. |
GitTags |
Gets a list of all tags from the repository. |
Unstage
GitUnstage |
Removes from the staging area all the modifications of a collection of file since the latest commit (addition, updation or removal). |
GitUnstageAll |
Removes from the staging area all the modifications all files the latest commit (addition, updation or removal). |