This commit is contained in:
Ryan Brandenburg 2018-10-10 09:26:24 -07:00
Родитель 03f142a96f
Коммит 2c365b8fc5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -107,7 +107,7 @@ try {
if (-not $NoPush -and ($Force -or ($PSCmdlet.ShouldContinue("Pushing updates to repos.", 'Push the changes to these repos?')))) { if (-not $NoPush -and ($Force -or ($PSCmdlet.ShouldContinue("Pushing updates to repos.", 'Push the changes to these repos?')))) {
try { try {
$newBranch = "maestro/$($submodule.branch)" $newBranch = "maestro/$($submodule.branch)"
Invoke-Block { & git @gitConfigArgs push origin HEAD:$newBranch} Invoke-Block { & git @gitConfigArgs push origin HEAD:refs/heads/$newBranch}
} }
catch { catch {
Write-Warning "Error in pushing $($newBranch): $_" Write-Warning "Error in pushing $($newBranch): $_"