Skip to content

Brownserve.PSSourceControl Module

Description

TBD

Brownserve.PSSourceControl Cmdlets

Add-GitChanges

This cmdlet is a wrapper for the git command 'git add \<path>'.

Add-GitHubReleaseAsset

Uploads a file to a GitHub release.

Add-PullRequestComment

Adds a comment to a given pull request

ConvertTo-HTTPSRepoURL

Converts a git SSH URI into the HTTPS equivalent

Copy-GitRemoteRepository

Clones a given git repository to the local machine

Get-GitBranches

Gets the current branches for the given repository

Get-GitChanges

Gets the git status for a given repository

Get-GitCurrentBranch

Gets the current branch for a given repository

Get-GitHubIssues

Gets the issues for a given GitHub repository

Get-GitHubPullRequests

Gets pull request information from a given GitHub repository.

Get-GitHubRelease

Gets a list of releases from a given GitHub repo

Get-GitHubTags

Gets a list of tags for a given GitHub repository

Get-GitMerges

Returns a list of merge commits for a given GitHub repository

Get-GitRemoteOriginURL

Gets the remote origin URL for a given repository

Get-GitRootDirectory

Returns the root directory of a git repository.

New-GitBranch

Creates a new branch in a given git repository

New-GitHubBranch

Creates a new remote branch in a GitHub repository.

New-GitHubCommit

Creates a commit on a GitHub repository branch via the GitHub API.

New-GitHubPullRequest

Creates a new GitHub pull request

New-GitHubRelease

Creates a release on GitHub

Push-GitChanges

Pushes local git changes to the remote repository.

Set-GitLabCIVariable

Creates or updates a GitLab CI/CD variable.

Submit-GitChanges

This cmdlet is a wrapper for \<git commit>.

Switch-GitBranch

Checks out a given branch.

Update-GitHubRelease

Updates properties of an existing GitHub release.