Update switch-branch.ps1

This commit is contained in:
Markus Fleschutz
2021-03-16 15:44:36 +01:00
parent 556beb2e9e
commit dd5b74feed
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/bin/powershell
<#
.SYNTAX ./switch-branch.ps1 [<branch>] [<repo-dir>]
.DESCRIPTION switches the current/given Git repository to the given branch (including submodules)
.DESCRIPTION switches the branch in the current/given Git repository (including submodules)
.LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0
#>
@ -9,7 +9,7 @@
param($Branch = "", $RepoDir = "$PWD")
if ($Branch -eq "") {
$Branch = read-host "Enter branch name to switch to"
$Branch = read-host "Enter branch to switch to"
}
try {