1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2025-12-24 21:51:38 +02:00

Added documentation

This commit is contained in:
Jaap Brasser
2019-07-24 22:35:01 -07:00
committed by GitHub
parent b97dc8fb0b
commit fba74a4e27

View File

@@ -16,6 +16,7 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
param(
[string] $Uri,
[string] $Path = 'C:\Temp',
# If this parameter is specified VScode will not automatically open after pulling in the PR
[switch] $NoCode
)
@@ -38,13 +39,12 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
Set-Location (Get-ChildItem).fullname
# Retrieve status of the current branch
git status
# open VScode
If (!$nocode) {
code .
}
# Retrieve status of the current branch
git status
} catch {}
} catch {}
}