< Back

Set-OMPGitOutput

Sat Jan 18, 2020 5:44 pm

NAME Set-OMPGitOutput



SYNOPSIS

Sets the default git output module. This can be used to flip between posh-git and psgit modules.





SYNTAX

Set-OMPGitOutput [[-Name] <String>] [<CommonParameters>]





DESCRIPTION

Sets the default git output module. This can be used to flip between posh-git and psgit modules. This is important

for customized prompt output as well as in general for managing git repos on your system. The default is just to

use some basic scripts with this module. Otherwise this can be posh-git or psgit (named so after the modules that

get loaded). Write-OMPGitStatus uses this setting directly to determine how to spit out VCS information to the

prompt.





PARAMETERS

-Name <String>

Name of the git output module to use. psgit, posh-git, or script. Default is script and no modules are used

for writing version control to the prompt.



Required? false

Position? 1

Default value Script

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Zachary Loeber



-------------------------- EXAMPLE 1 --------------------------



Set-OMPGitOutput -Name 'psgit'







RELATED LINKS

https://github.com/zloeber/OhMyPsh https://github.com/zloeber/OhMyPsh