

# GitBranchFilterCriteria


The Git repository branches specified as filter criteria to start the pipeline.

## Contents


 ** excludes **   <a name="CodePipeline-Type-GitBranchFilterCriteria-excludes"></a>
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 8 items.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `.*`   
Required: No

 ** includes **   <a name="CodePipeline-Type-GitBranchFilterCriteria-includes"></a>
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 8 items.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `.*`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codepipeline-2015-07-09/GitBranchFilterCriteria) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codepipeline-2015-07-09/GitBranchFilterCriteria) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codepipeline-2015-07-09/GitBranchFilterCriteria) 