GitAutomation
0.11.0
This module uses [LibGit2Sharp](https://github.com/libgit2/libgit2sharp), the .NET wrapper of [libgit2](https://libgit2.github.com/), "a portable, pure C implementation of... Git", which allo
This module uses [LibGit2Sharp](https://github.com/libgit2/libgit2sharp), 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.
See the version list below for details.
Installation Options
Owners
Copyright
Copyright 2016 - 2018 WebMD Health Services
Package Details
Author(s)
- WebMD Health Services
Tags
git vcs rcs automation github gitlab libgit2
Functions
Add-GitItem Compare-GitTree Copy-GitRepository Find-GitRepository Get-GitBranch Get-GitCommit Get-GitRepository Get-GitRepositoryStatus Get-GitTag Merge-GitCommit New-GitBranch New-GitRepository New-GitSignature New-GitTag Receive-GitCommit Remove-GitItem Save-GitCommit Send-GitBranch Send-GitCommit Send-GitObject Set-GitConfiguration Sync-GitBranch Test-GitBranch Test-GitCommit Test-GitRemoteUri Test-GitTag Test-GitUncommittedChange Update-GitRepository
Dependencies
This module has no dependencies.
Release Notes
***This release contains breaking changes.*** The *Upgrade Instructions* section below explains what you should do when upgrading.
## Changes
* ***Breaking Change***: Module renamed to `GitAutomation`. The LibGit2 folks don't want us to use the LibGit2 name.
* Added `Force` switch to `Update-GitRepository` to overwrite any uncomitted changes when checking out/updating to a specific revision.
* ***Breaking Change***: Removed `Test-GitIncomingCommit` function. It actually downloaded changes from the remote repository to do its test. This function only exists because we came from Mercurial, which doesn't do any kind of automated merging. Because of this, it is normal to have to test/check for incoming changes when automating. Git does automatic mergeing so this kind of check isn't needed.
* ***Breaking Change***: Removed `Test-GitOutgoingCommit` function. This function only exists because we came from Mercurial, which doesn't do any kind of automated merging. Because of this, it is normal to have to test/check for outgoing changes. With Git, it just handles no outgoing/upstream changes to push, so this function isn't necessary.
* Added a `Sync-GitBranch` function for pulling (i.e. downloading) and merging a remote branch into its local branch. This function implements the `git pull` command.
* ***Breaking Change***: `Receive-GitCommit` no longer merges changes into branches. It only downloads new commits into a repository. Use the new `Sync-GitBranch` to pull and merge changes from a remote branch into your current branch.
* ***Breaking Change***: Removed the `Fetch` switch from `Receive-GitCommit`; the function now only fetches so the switch was redundant.s
* Added `Send-GitBranch` function for pushing a branch to a remote repository, merging in any new changes, if possible.
* ***Breaking Change***: Renamed `Save-GitChange` to `Save-GitCommit` for better discoverability and consistency.
## Upgrade Instructions
* The namespace for compiled objects is now `Git.Automation`. Replace references in your code to `LibGit2.Automation` with `Git.Automation`.
* Remove any usages of the `Test-GitIncomingCommit` or `Test-GitOutgoingCommit` functions.
* Replace any usages of `Receive-GitCommit` that don't have the `Fetch` parameter with `Sync-GitBranch`.
* Remove usages of the `Fetch` switch when calling `Receive-GitCommit`.
* Replace all usages of `Save-GitChange` with `Save-GitCommit`.
FileList
- GitAutomation.nuspec
- GitAutomation.psd1
- GitAutomation.psm1
- Import-GitAutomation.ps1
- bin\Git.Automation.dll
- bin\Git.Automation.pdb
- bin\gitconfig
- bin\LibGit2Sharp.dll
- bin\LibGit2Sharp.dll.config
- bin\LibGit2Sharp.pdb
- bin\LibGit2Sharp.xml
- bin\System.Management.Automation.dll
- bin\lib\linux\x86_64\libgit2-15e1193.so
- bin\lib\osx\libgit2-15e1193.dylib
- bin\lib\win32\x64\git2-15e1193.dll
- bin\lib\win32\x64\git2-15e1193.pdb
- bin\lib\win32\x86\git2-15e1193.dll
- bin\lib\win32\x86\git2-15e1193.pdb
- en-US\about_GitAutomation.help.txt
- en-US\about_GitAutomation_Installation.help.txt
- Formats\Git.Automation.CommitInfo.formats.ps1xml
- Formats\LibGit2Sharp.StatusEntry.formats.ps1xml
- Functions\Add-GitItem.ps1
- Functions\Compare-GitTree.ps1
- Functions\ConvertTo-GitFullPath.ps1
- Functions\Copy-GitRepository.ps1
- Functions\Find-GitRepository.ps1
- Functions\Get-GitBranch.ps1
- Functions\Get-GitCommit.ps1
- Functions\Get-GitRepository.ps1
- Functions\Get-GitRepositoryStatus.ps1
- Functions\Get-GitTag.ps1
- Functions\Merge-GitCommit.ps1
- Functions\New-GitBranch.ps1
- Functions\New-GitRepository.ps1
- Functions\New-GitSignature.ps1
- Functions\New-GitTag.ps1
- Functions\Receive-GitCommit.ps1
- Functions\Remove-GitItem.ps1
- Functions\Save-GitCommit.ps1
- Functions\Send-GitBranch.ps1
- Functions\Send-GitCommit.ps1
- Functions\Send-GitObject.ps1
- Functions\Set-GitConfiguration.ps1
- Functions\Sync-GitBranch.ps1
- Functions\Test-GitBranch.ps1
- Functions\Test-GitCommit.ps1
- Functions\Test-GitRemoteUri.ps1
- Functions\Test-GitTag.ps1
- Functions\Test-GitUncommittedChange.ps1
- Functions\Update-GitConfigurationSearchPath.ps1
- Functions\Update-GitRepository.ps1
- Functions\Use-CallerPreference.ps1
- Types\LibGit2Sharp.StatusEntry.types.ps1xml
Version History
Version | Downloads | Last updated |
---|---|---|
0.14.0 | 71,945 | 9/30/2019 |
0.14.0-rc199 | 34 | 9/30/2019 |
0.13.0 | 407 | 4/9/2019 |
0.12.0 | 394 | 10/30/2018 |
0.11.0 (current version) | 122 | 4/17/2018 |