ugit

0.4

ugit:  Updated Git.

A powerful PowerShell wrapper for git that lets you extend git, automate multiple repos, and use the object pipeline.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ugit -RequiredVersion 0.4

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ugit -Version 0.4

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

2022-2023 Start-Automating

Package Details

Author(s)

  • James Brundage

Tags

PowerShell git

Functions

Get-UGitExtension Use-Git Out-Git

Dependencies

This module has no dependencies.

Release Notes

## 0.4:

* Adding Sponsorship! (#174)
* RealGit / GitReal will opt-out of ugit (#173)
* Added git.commit.info.psuh (#111)
* Fixing directory piping (#172)
* Git Clone allows absolute paths (#169, thanks @corbob)
* Fixing Git Log -Statistics (#171)
* Not Mapping Partial Dynamic Parameters (#168)

--

## 0.3.9:

* Adding ugit demo (Fixes #163)
* Use-Git: Improving -Confirm (Fixes #165) and -WhatIf (Fixes #162)
* git.log.input
 * Adding -NumberOfCommits (#161/#156)
 * Adding -SearchPattern (Fixes #158)
 * Adding -SearchString (Fixes #157)
 * Adding -Statistics (Fixes #155)
* Adding git.branch IsTracked (Fixes #160)
* Extending FileInfo for better git results (Fixes #153) (thanks @ninmonkey)
* Adding ugit.extension formatting (Fixes #164)
* git log formatting - right-aligning CommitMessage (Fixes #152) (thanks @ninmonkey)
* git log .diff FileChange fix (Fixes #151)
* Git Diff ChangeSet Formatting Fix (Fixes #150)
* Updating workflow (Using GitLogger)


## 0.3.8:

* Use-Git can now be extended (#140, #97), letting you add PowerShell parameters to any git command
* Initial input extensions
 * git.clone.input (#141) (--progress is inferred so Write-Progress happens automagically)
 * git.log.input (#142) (Added -Before/-After/-Author/-CurrentBranch)
 * git.commit.input (#144) (Added -Message/-Body/-Title/-Trailer)
* Other Improvements:
 * git log will not process --pretty/--format (Fixes #143)
 * git log now supports .Trailers (Fixes #112)
 * git remote formatting improved (Fixes #145)
 * git remote now works for multiple remotes (Fixes #136)
 * Updated logo (#139)

---

## 0.3.7:

* git remote
* Now supporting git remote! (Fixes #129)

~~~PowerShell
git remote | git remote show
~~~

Also, some improvements to the GitHub Action:

* Icon Update (Fixes #132)
* No longer using set-output (Fixes #131)
* Adding -InstallModule to Action (Fixes #132)

---

## 0.3.6:

* git log
 * Supporting --stat (Fixes #123)
 * Supporting --shortstat (Fixes #102)
 * Adding .GitOutputLines (Fixes #122)
* git diff
 * Fixing subdirectory issue (Fixes #121)

---

## 0.3.5:

* Use-Git:  Fixing pipeline behavior for non-file input (Fixes #119)
* Git.log: Attaching .GitCommand, not .GitArgument (Fixes #118)
* Git.mv: Reducing liklihood of errors in directory moves (Fixes #117)

---

## 0.3.4:

* Improving pipeling behavior (Fixes #110)
* Adding tests for pipelining

---

## 0.3.3:

* New Extensions:
 * git grep (Fixes #101)
 * --name-only support (Fixes #103)
* -WhatIf now returns a [ScriptBlock] (Fixes #90)
* Git.FileOutput: Test-Path before Get-Item (Fixes #106)

---

## 0.3.2:

* git diff now includes .File and .GitRoot (Fixes #93)
* git pull no longer includes 'files changed' when no files change (Fixes #92)

---

## 0.3.1:

* git help --all now returns as objects (Fixes #88)
* (git log .\filename).Diff() now only diffs the selected files (Fixes #87)
* git -C is permitted in any direectory (Fixes #85)

---

## 0.3:

* Adding git version and git help to list of commands that do not require a repo (Fixes #79) (Thanks @charltonstanley!)

--

## 0.2.9:
* Adding support for git init (Fixes #75)

---

## 0.2.8:
* Adding support for git rm (Fixes #73)

---

## 0.2.7:
* Adding support for git mv (#70, thanks @ninmonkey !)

---

## 0.2.6:
* Fixing git diff for binary files (#47)

---

## 0.2.5:
* Improving .Merged support for git log (#68)
* git log now also returns:
 * [int] .PullRequestNumber (the pull request number)
 * .Source (the source branch of a merge)
 * .Destination (the destination branch of a merge)

---

## 0.2.4:
* Adding support for git stash (#65)
* Allowing git diff extension to display git stash show --patch (#66)

---

## 0.2.3:
* Adding types for git.reference.log (#61 #62)

---

## 0.2.2:
* Outputting hints as warnings (#56)
* Improved support for git pull (#57)
* Auto-building depedencies (#58)
* Consolidating CI/CD (#59)

---

## 0.2.1:
* Adding support for git shortlog (#48)
* Adding .GitRoot to git reflog (#53)
* Extension documentation cleanup (#54)

---

## 0.2.0:
* Adding support for git reflog (#51)

---

## 0.1.9.1:
* Fixing git status duplicate message (#49)

---

## 0.1.9:
* Support for eventing (#42)
* Autogeneration of docs (#43)
* Autogeneration of formatting (#44)
* Fixing git status formatting (#45)

---

## 0.1.8:
* Adding Support for git checkout (#38)
* Use-Git:  Avoiding unwanted confirmation ( Fixing #39 )

---

## 0.1.7:
* Use-Git: -Verbose no longer infers --verbose (#10)
* Out-Git: Support for extension caching (#35)
* Out-Git: Using -ErrorAction Ignore when -Verbose is not passed (#36)
* Get-UGitExtension:  Updating Piecemeal Version [0.2.1].  (Re #32 #36)

---

## 0.1.6
* Adding support / formatting for git pull (#26)
* Out-Git:  Extension Improvements (#33)

---

## 0.1.5
* Adding git.log .Checkout() and Revert() (#27, #28)
* Fixing formatting for git diff (#25)
* Out-Git:  Adding History (#30)
* Use-Git:  SupportsShouldProcess (#29)

---

## 0.1.4
* Adding git.log.reset() (#20)
* Adding git clone extension (#17)
* Use-Git:  Running certain git commands when there is no repo (currently clone and init)
* Use-Git:  Support for progress bars (#18).  Warning when repo not found (#21)
* git branch extension:  Adding example
* Highlighting branch name (fixing #19)

---

## 0.1.3
* Updating git.log extension:  Adding .Merged (#16)
* Updating git push extension:  Support for first push (#14)
* Adding .output to automatic typenames (Fixing #11)
* Adding .ToString to git.branch and git.branch.detail (#9)
* Updating git branch extension:  Fixing --delete behavior (#13)
* Use-Git:  Support for -d/-D/-v/-V (#12).  -Verbose implies --verbose (#10)

---

## 0.1.2
* Support for git push (#7)
* Adding .Amend/.UpdateMessage to git.commit.info (#6)

---

## 0.1.1
* Support for git commit (#4)

---

## 0.1
* Initial Release of ugit

---

FileList

Version History

Version Downloads Last updated
0.4.5 1,167 10/16/2024
0.4.4 40,261 4/16/2024
0.4.3 9,872 2/28/2024
0.4.2 4,336 11/4/2023
0.4.1 392 10/5/2023
0.4 (current version) 3,510 5/14/2023
0.3.9 547 4/24/2023
0.3.8 777 3/29/2023
0.3.7 227 3/9/2023
0.3.6 149 2/8/2023
0.3.5 7 2/5/2023
0.3.4 9 1/28/2023
0.3.3 21 1/18/2023
0.3.2 158 11/29/2022
0.3.1 40 10/30/2022
0.3 47 10/13/2022
0.2.9 25 10/1/2022
0.2.8 51 8/13/2022
0.2.7 36 7/29/2022
0.2.6 25 7/24/2022
0.2.5 29 7/18/2022
0.2.4 13 7/16/2022
0.2.3 26 7/7/2022
0.2.2 25 6/29/2022
0.2.1 14 6/25/2022
0.2.0 12 6/25/2022
0.1.9.1 22 6/8/2022
0.1.9 34 4/25/2022
0.1.8 18 4/12/2022
0.1.7 15 4/10/2022
0.1.6 12 4/9/2022
0.1.5 14 4/4/2022
0.1.4 19 3/26/2022
0.1.3 14 3/25/2022
0.1.2 17 3/22/2022
0.1.1 13 3/21/2022
0.1 13 3/20/2022
Show less