Get-GitInfoForDirectory

1.0

The function will use the installed Git For Windows application to
gather repository data about the current directory and update the Prompt
function to include visual "Status" and "Branch" indicators. If the current
is not a Git Repository, nothing will change on the prompt, as it will run
checks to see if it is a repository or not before changing the prompt.

Installation Options

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

Install-Script -Name Get-GitInfoForDirectory -RequiredVersion 1.0

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

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

Package Details

Author(s)

  • JayDeuce

Tags

Git

Functions

Get-GitInfoForDirectory

Dependencies

This script has no dependencies.

Release Notes

Requires "Git For Windows" -> https://git-scm.com/download/win

FileList

Version History

Version Downloads Last updated
1.1 395 6/20/2017
1.0 (current version) 127 2/26/2016