Skip to content

Get-GitHubGitignore

SYNOPSIS

Get a gitignore template or list of all gitignore templates names

SYNTAX

List (Default)

Get-GitHubGitignore [-Anonymous] [-Context <Object>] [<CommonParameters>]

Name

Get-GitHubGitignore -Name <string> [-Anonymous] [-Context <Object>] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

If no parameters are specified, the function will return a list of all gitignore templates names. If the Name parameter is specified, the function will return the gitignore template for the specified name.

EXAMPLES

EXAMPLE 1

Get-GitHubGitignoreList

Get all gitignore templates

EXAMPLE 2

Get-GitHubGitignore -Name 'VisualStudio'

Get a gitignore template for VisualStudio

PARAMETERS

-Anonymous

If specified, makes an anonymous request to the GitHub API without authentication.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Context

The context to run the command in. Used to get the details for the API call. Can be either a string or a GitHubContext object.

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Name

{{ Fill Name Description }}

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Name
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get a gitignore template Get all gitignore templates