We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dde8fa commit 21cbd76Copy full SHA for 21cbd76
GitHubAnalytics.psm1
@@ -971,6 +971,19 @@ function Get-GitHubOrganizationRepository
971
return $resultToReturn
972
}
973
974
+<#
975
+ .SYNOPSIS Function which gets a list of branches for a given repository
976
+ .PARAM
977
+ owner The name of the repository owner
978
979
+ repository The name of the repository
980
981
+ gitHubAccessToken GitHub API Access Token.
982
+ Get github token from https://github.com/settings/tokens
983
+ If you don't provide it, you can still use this script, but you will be limited to 60 queries per hour.
984
+ .EXAMPLE
985
+ $branches = Get-GitHubRepositoryBranch -owner PowerShell -repository PowerShellForGitHub
986
+#>
987
function Get-GitHubRepositoryBranch
988
{
989
param
0 commit comments