I have a test branch, I want to test its existence with -contains, but it doesn't seem to work ?
$test = git branch
if ($test -contains "test") {
Write-Host "success"
}
I have a test branch, I want to test its existence with -contains, but it doesn't seem to work ?
$test = git branch
if ($test -contains "test") {
Write-Host "success"
}