Git
2.1.1
Common Git workflow helpers: branch maintenance, tagging, and repository synchronization.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 mtb.me. All rights reserved.
Package Details
Author(s)
- Manuel
Tags
Git Branch Tag Workflow PowerShell Windows
Functions
Add-AssumedUnchanged Add-GitTag Clear-GitBranches Invoke-Gitk Invoke-GitkAll Merge-GitAllRemoteBranches Merge-GitBranchUseTheirs Push-GitAllTrackedBranches Remove-AssumedUnchanged Remove-GitAllBranches Reset-GitAllBranches Set-GitTrackAllRemoteBranches Set-GitTrackMatchedRemoteBranches Update-GitAllBranches Update-GitBranch
PSEditions
Dependencies
-
- Execution (>= 5.1.0)
Release Notes
Git v2.1.1+sha.631f7a2
## [v2.1.1] - 2026-05-06
### Fixed
- `Push-GitAllTrackedBranches`: StrictMode crash
(`The property 'Count' cannot be found on this object.`) when the
`git branch` output filters to empty. The legacy form
`@((Invoke-Git branch -PassThru).Output) | ForEach-Object | Where-Object`
only `@()`-wrapped the input of the pipeline, so an empty pipeline
tail collapsed the assignment to `$null`; the next line read
`$localBranches.Count`, which throws under
`Set-StrictMode -Version Latest`. Moved `@()` around the whole
pipeline so the result is always an array. Same fix applied
defensively to `Remove-GitAllBranches`,
`Set-GitTrackAllRemoteBranches`, and
`Set-GitTrackMatchedRemoteBranches`, which carried the same
pattern.
FileList
- Git.nuspec
- Git.Format.ps1xml
- Git.psd1
- Git.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.1.1 (current version) | 15 | 5/6/2026 |
| 2.1.0 | 9 | 5/6/2026 |
| 2.0.0 | 39 | 5/6/2026 |
| 1.5.0 | 262 | 4/25/2026 |
| 1.4.2 | 61,227 | 5/16/2024 |
| 1.4.1 | 22,218 | 3/9/2020 |
| 1.4.0 | 132 | 3/9/2020 |
| 1.3.3 | 494 | 2/5/2020 |
| 1.3.2 | 2,646 | 5/9/2019 |
| 1.3.1 | 335 | 4/4/2019 |
| 1.3.0 | 160 | 3/29/2019 |
| 1.2.0 | 134 | 3/28/2019 |
| 1.1.0 | 192 | 3/18/2019 |
| 1.0.1 | 123 | 3/17/2019 |
| 1.0.0 | 30 | 3/17/2019 |