Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
ugit
0.4.5
Types/git.branch/Rename.ps1
if
(
-not
$args
)
{
throw
"Must provide a new branch name"
}
Push-Location
$this
.
GitRoot
git
branch
'-m'
$this
.
BranchName
@args
Pop-Location