Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHubBranches: Add New/Remove-GitHubRepositoryBranch Functions #200

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Remove-GitHubRepositoryBranch examples
  • Loading branch information
X-Guardian committed Jun 27, 2020
commit 8ae5dbf4bea60366edd095206b0875b6af791717
9 changes: 7 additions & 2 deletions GitHubBranches.ps1
Original file line number Diff line number Diff line change
@@ -369,9 +369,14 @@ function Remove-GitHubRepositoryBranch
None

.EXAMPLE
Remove-GitHubRepositoryBranch -Name TestBranch -OwnerName Microsoft -RepositoryName PowerShellForGitHub
Remove-GitHubRepositoryBranch -Name develop -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Removes the specified branch from the specified repository.
Removes the 'develop' branch from the specified repository.

.EXAMPLE
Remove-GitHubRepositoryBranch -Name develop -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Force

Removes the 'develop' branch from the specified repository without prompting for confirmation.
#>
[CmdletBinding(
SupportsShouldProcess,